p2p: track peers stored on startup (#8787)

This commit is contained in:
Sam Kleinman
2022-06-17 18:10:10 +00:00
committed by GitHub
parent 9e5b13725d
commit 0ac03468d8
+3
View File
@@ -367,6 +367,9 @@ func (m *PeerManager) configurePeers() error {
}
}
}
m.metrics.PeersStored.Add(float64(m.store.Size()))
return nil
}