YolandaMDavis commented on a change in pull request #4240: URL: https://github.com/apache/nifi/pull/4240#discussion_r417423997
########## File path: nifi-nar-bundles/nifi-extension-utils/nifi-prometheus-utils/src/main/java/org/apache/nifi/prometheus/util/PrometheusMetricsUtil.java ########## @@ -364,6 +370,10 @@ public static CollectorRegistry createConnectionStatusAnalyticsMetrics(Connectio return connectionAnalyticsMetricsRegistry.getRegistry(); } + private static int getUtilization(final double used, final double total) { Review comment: yep not a problem, this can return double. I'll update it. ---------------------------------------------------------------- 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: us...@infra.apache.org