nizhikov commented on a change in pull request #8937:
URL: https://github.com/apache/ignite/pull/8937#discussion_r604769617
##########
File path:
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryStatistics.java
##########
@@ -72,13 +75,14 @@
/** */
public TcpDiscoveryStatistics() {
- joinedNodesCnt = new IntMetricImpl("JoinedNodes", "Joined nodes
count");
+ joinedNodesCnt = new IntMetricImpl(metricName(DISCO_METRICS,
"JoinedNodes"), "Joined nodes count");
Review comment:
I think the creation of some wrappers and keeping explicit `int`
variables just to register metric correctly is overwhelming.
--
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:
[email protected]