You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2019/06/12 13:53:06 UTC

[GitHub] [ignite] ascherbakoff commented on a change in pull request #6546: IGNITE-11848: New Monitoring. Phase1

ascherbakoff commented on a change in pull request #6546: IGNITE-11848: New Monitoring. Phase1
URL: https://github.com/apache/ignite/pull/6546#discussion_r292915065
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/metric/IoStatisticsHolderCache.java
 ##########
 @@ -48,12 +50,23 @@
 
     /**
      * @param cacheName Name of cache.
+     * @param grpId Group id.
+     * @param mreg Metric registry.
      */
-    public IoStatisticsHolderCache(String cacheName, int grpId) {
+    public IoStatisticsHolderCache(String cacheName, int grpId, MetricRegistry mreg) {
         assert cacheName != null;
 
         this.cacheName = cacheName;
         this.grpId = grpId;
+
+        MetricRegistry mset = mreg.withPrefix(CACHE_GROUP.metricGroupName(), cacheName);
 
 Review comment:
   Variable names mset and mreg doesn't follow code style.
   Use names registry and locRegistry instead.

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


With regards,
Apache Git Services