eolivelli commented on a change in pull request #1688:
URL: https://github.com/apache/zookeeper/pull/1688#discussion_r622775675



##########
File path: 
zookeeper-metrics-providers/zookeeper-prometheus-metrics/src/test/java/org/apache/zookeeper/metrics/prometheus/PrometheusMetricsProviderTest.java
##########
@@ -76,31 +77,51 @@ public void testCounters() throws Exception {
         counter.add(10);
         int[] count = {0};
         provider.dump((k, v) -> {
-            assertEquals("cc", k);
-            assertEquals(10, ((Number) v).intValue());
             count[0]++;
+            int value = ((Number) v).intValue();
+            switch (k) {
+                case "cc_total":

Review comment:
       so with this upgrade we are changing the metrics that we are providing ?
   
   can you please explain in the description of the PR and/or in JIRA ?
   
   this may be a significant impact for people who created downstream 
processing dashboards/alerts




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to