You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/04/29 15:52:41 UTC

[GitHub] [nifi] YolandaMDavis commented on a change in pull request #4240: NIFI-7408 - added percent used metrics for connections

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:
users@infra.apache.org