Commit 647f7cc
Introduce removeIf method to StatefulMetric (#1339)
Introduce removeIf method to StatefulMetric that it could help users to
clear DataPoints.
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: dao-jun <[email protected]>
Signed-off-by: Benjamin Peterson <[email protected]>
Signed-off-by: Gregor Zeitlinger <[email protected]>
Signed-off-by: Johnny Lim <[email protected]>
Signed-off-by: prombot <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Peterson <[email protected]>
Co-authored-by: Gregor Zeitlinger <[email protected]>
Co-authored-by: Johnny Lim <[email protected]>
Co-authored-by: PrometheusBot <[email protected]>1 parent 9846444 commit 647f7cc
File tree
2 files changed
+31
-0
lines changed- prometheus-metrics-core/src
- main/java/io/prometheus/metrics/core/metrics
- test/java/io/prometheus/metrics/core/metrics
2 files changed
+31
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
38 | 63 | | |
39 | 64 | | |
40 | 65 | | |
| |||
0 commit comments