paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.89k stars 696 forks source link

network: Rename peerset metric to peerstore metric #6190

Open lexnv opened 3 weeks ago

lexnv commented 3 weeks ago

The substrate_sub_libp2p_peerset_num_discovered corresponds to the PeerStoreMetric object and is reported by the peerstore itself, not by the peerset (protocol controller of notifications).

https://github.com/paritytech/polkadot-sdk/blob/1a701c9139a5492336eadf42f022a9022eb67526/substrate/client/network/src/service/metrics.rs#L220-L244

cc @paritytech/networking