kfaraz commented on code in PR #13034:
URL: https://github.com/apache/druid/pull/13034#discussion_r965997237


##########
extensions-contrib/prometheus-emitter/src/main/java/org/apache/druid/emitter/prometheus/Metrics.java:
##########
@@ -63,6 +64,7 @@ public DimensionsAndCollector getByName(String name, String 
service)
 
   public Metrics(String namespace, String path, boolean isAddHostAsLabel, 
boolean isAddServiceAsLabel)
   {
+    Map<String, DimensionsAndCollector> registeredMetricsTmp = new HashMap<>();

Review Comment:
   Nit: It is fine to name this as `registeredMetrics` as you would anyway be 
referring to the field by using `this.registeredMetrics`.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to