p2p: track peers stored on startup (#8787) (#8788)

(cherry picked from commit 0ac03468d8)

Co-authored-by: Sam Kleinman <garen@tychoish.com>
This commit is contained in:
mergify[bot]
2022-06-17 15:49:04 -04:00
committed by GitHub
co-authored by Sam Kleinman
parent 7e7a2535c6
commit c29c667c99
+3
View File
@@ -367,6 +367,9 @@ func (m *PeerManager) configurePeers() error {
}
}
}
m.metrics.PeersStored.Add(float64(m.store.Size()))
return nil
}