ivanzlenko commented on code in PR #7269:
URL: https://github.com/apache/ignite-3/pull/7269#discussion_r2635399849
##########
modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/ZoneResourcesManager.java:
##########
@@ -93,6 +100,11 @@ public class ZoneResourcesManager implements
ManuallyCloseable {
this.failureProcessor = failureProcessor;
this.partitionOperationsExecutor = partitionOperationsExecutor;
this.replicaManager = replicaManager;
+ this.metricManager = metricManager;
+
+ this.snapshotsMetricsSource = new RaftSnapshotsMetricsSource();
+ metricManager.registerSource(snapshotsMetricsSource);
+ metricManager.enable(snapshotsMetricsSource);
Review Comment:
In other places we are doing this in the constructor as well.
--
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]