Commit ec3a549
committed
feat: introduce
for background, see discussion in prometheus#242:
> > Would you be amenable to feature-gating these public helpers behind
> > a `test-util` feature? This is a pretty common approach we've seen
> > in other crates.
>
> That sounds reasonable to me. Contribution welcome. Thanks. Please
> point out very prominently that we might break any of those APIs in
> a patch release.
\- <prometheus#242 (comment)>
this commit introduces a `test-util` feature flag.
this feature flag will function as a gate for additional interfaces,
such as accessors to read the value of a histogram, that facilitate
integration tests inspecting metrics.
comments note that any forthcoming interfaces included by this feature
are not subject to stability guarantees.
Signed-off-by: katelyn martin <[email protected]>test-util feature flag1 parent 6bb0b10 commit ec3a549
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments