Skip to content

Commit d236647

Browse files
committed
adding back metrics.
1 parent 16fe011 commit d236647

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

statusHandler/chainParamsMetricsHandler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func (cpm *chainParamsMetricsHandler) ChainParametersChanged(chainParameters con
2929
cpm.appStatusHandler.SetUInt64Value(common.MetricMetaConsensusGroupSize, uint64(chainParameters.MetachainConsensusGroupSize))
3030
cpm.appStatusHandler.SetUInt64Value(common.MetricNumNodesPerShard, uint64(chainParameters.ShardMinNumNodes))
3131
cpm.appStatusHandler.SetUInt64Value(common.MetricNumMetachainNodes, uint64(chainParameters.MetachainMinNumNodes))
32+
cpm.appStatusHandler.SetUInt64Value(common.MetricRoundDuration, chainParameters.RoundDuration)
3233
}
3334

3435
// IsInterfaceNil returns true if there is no value under the interface

0 commit comments

Comments
 (0)