Closed rob-maron closed 3 months ago
Closes #3320
Adds libp2p and CDN specific metrics with subgrouping
num_connected_peers
num_failed_messages
Removes generic NetworkMetrics
NetworkMetrics
Fixes Libp2p's num_connected_peers metric to be updated when the value changes, instead of only once after bootstrap
Fixes Libp2p's num_failed_messages by incrementing it in more places
Removes timeout for Libp2p bootstrap. Maybe controversial
Reduces log levels for noisy logs
libp2p_network.rs
Closes #3320
This PR:
Adds libp2p and CDN specific metrics with subgrouping
num_connected_peers
,num_failed_messages
num_failed_messages
Removes generic
NetworkMetrics
Fixes Libp2p's
num_connected_peers
metric to be updated when the value changes, instead of only once after bootstrapFixes Libp2p's
num_failed_messages
by incrementing it in more placesRemoves timeout for Libp2p bootstrap. Maybe controversial
Reduces log levels for noisy logs
Key places to review:
libp2p_network.rs
How to test this PR: