metrics: add separate statesync and blocksync metrics (#9682)

This commit is contained in:
Callum Waters
2022-11-10 19:13:15 +01:00
committed by GitHub
parent f12588aab1
commit 99a7ac84dc
14 changed files with 127 additions and 42 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ func newReactor(
blockStore.SaveBlock(thisBlock, thisParts, lastCommit)
}
bcReactor := NewReactor(state.Copy(), blockExec, blockStore, fastSync)
bcReactor := NewReactor(state.Copy(), blockExec, blockStore, fastSync, NopMetrics())
bcReactor.SetLogger(logger.With("module", "blocksync"))
return ReactorPair{bcReactor, proxyApp}