We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f33085 commit 1aac666Copy full SHA for 1aac666
prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/StatefulMetricTest.java
@@ -40,7 +40,8 @@ public void testLabelRemoveWhileCollecting() throws Exception {
40
@Test
41
@SuppressWarnings("unchecked")
42
public void testLabelRemoveIf() throws Exception {
43
- Counter counter = Counter.builder().name("testLabelRemoveIf").labelNames("label1", "label2").build();
+ Counter counter =
44
+ Counter.builder().name("testLabelRemoveIf").labelNames("label1", "label2").build();
45
Field data = counter.getClass().getSuperclass().getDeclaredField("data");
46
data.setAccessible(true);
47
0 commit comments