Fix metric name for monitoring (#2950)

## Issue Addressed

Resolves #2949 

## Proposed Changes

Fix metric naming for libp2p peer count.
This commit is contained in:
Pawan Dhananjay 2022-01-24 22:33:02 +00:00
parent ca29b580a2
commit b9b3ea70de

View File

@ -67,11 +67,7 @@ const BEACON_PROCESS_METRICS: &[JsonMetric] = &[
"disk_beaconchain_bytes_total", "disk_beaconchain_bytes_total",
JsonType::Integer, JsonType::Integer,
), ),
JsonMetric::new( JsonMetric::new("libp2p_peers", "network_peers_connected", JsonType::Integer),
"libp2p_peer_connected_peers_total",
"network_peers_connected",
JsonType::Integer,
),
JsonMetric::new( JsonMetric::new(
"libp2p_outbound_bytes", "libp2p_outbound_bytes",
"network_libp2p_bytes_total_transmit", "network_libp2p_bytes_total_transmit",