metric name change for periodicShardSyncManager
This commit is contained in:
parent
b7468267f4
commit
0d358b682d
1 changed files with 2 additions and 2 deletions
|
|
@ -181,8 +181,8 @@ class PeriodicShardSyncManager {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
final ShardSyncResponse shardSyncResponse = checkForShardSync();
|
final ShardSyncResponse shardSyncResponse = checkForShardSync();
|
||||||
MetricsHelper.getMetricsScope().addData("InitiatingShardSync", shardSyncResponse.shouldDoShardSync() ? 1 : 0, StandardUnit.Count, MetricsLevel.SUMMARY);
|
MetricsHelper.getMetricsScope().addData("NumStreamsToSync", shardSyncResponse.shouldDoShardSync() ? 1 : 0, StandardUnit.Count, MetricsLevel.SUMMARY);
|
||||||
MetricsHelper.getMetricsScope().addData("DetectedIncompleteLease", shardSyncResponse.isHoleDetected() ? 1 : 0, StandardUnit.Count, MetricsLevel.SUMMARY);
|
MetricsHelper.getMetricsScope().addData("NumStreamsWithPartialLeases", shardSyncResponse.isHoleDetected() ? 1 : 0, StandardUnit.Count, MetricsLevel.SUMMARY);
|
||||||
if (shardSyncResponse.shouldDoShardSync()) {
|
if (shardSyncResponse.shouldDoShardSync()) {
|
||||||
LOG.info("Periodic shard syncer initiating shard sync due to the reason - " +
|
LOG.info("Periodic shard syncer initiating shard sync due to the reason - " +
|
||||||
shardSyncResponse.reasonForDecision());
|
shardSyncResponse.reasonForDecision());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue