sureshanaparti commented on a change in pull request #4438:
URL: https://github.com/apache/cloudstack/pull/4438#discussion_r716416355



##########
File path: 
plugins/integrations/prometheus/src/main/java/org/apache/cloudstack/metrics/PrometheusExporterImpl.java
##########
@@ -115,6 +121,10 @@ private void addHostMetrics(final List<Item> metricsList, 
final long dcId, final
         int total = 0;
         int up = 0;
         int down = 0;
+        Map<String, Integer> total_hosts = new HashMap<>();
+        Map<String, Integer> up_hosts = new HashMap<>();

Review comment:
       ```suggestion
           Map<String, Integer> upHosts = new HashMap<>();
   ```




-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to