ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] nizhikov commented on a change in pull request #6648: IGNITE-11922 `Register ClusterMetricsMXBeanImpl metrics`
Date Tue, 30 Jul 2019 10:45:32 GMT
nizhikov commented on a change in pull request #6648: IGNITE-11922 `Register ClusterMetricsMXBeanImpl
metrics`
URL: https://github.com/apache/ignite/pull/6648#discussion_r308654021
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSharedManagerAdapter.java
 ##########
 @@ -58,6 +65,9 @@
 
         diagnosticLog = cctx.logger(DIAGNOSTIC_LOG_CATEGORY);
 
+        MetricRegistry sysreg = cctx.kernalContext().metric().registry(CACHE_METRICS);
+        lastDataVer = sysreg.longMetric("LastDataVersion", "Node start time.");
 
 Review comment:
   Please, add empty line.

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

Mime
View raw message