From b9b3ea70de6e78a586a6860ac32f4f3a9ccb62a6 Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Mon, 24 Jan 2022 22:33:02 +0000 Subject: [PATCH] Fix metric name for monitoring (#2950) ## Issue Addressed Resolves #2949 ## Proposed Changes Fix metric naming for libp2p peer count. --- common/monitoring_api/src/gather.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/monitoring_api/src/gather.rs b/common/monitoring_api/src/gather.rs index 16965f43c..8699a8cf2 100644 --- a/common/monitoring_api/src/gather.rs +++ b/common/monitoring_api/src/gather.rs @@ -67,11 +67,7 @@ const BEACON_PROCESS_METRICS: &[JsonMetric] = &[ "disk_beaconchain_bytes_total", JsonType::Integer, ), - JsonMetric::new( - "libp2p_peer_connected_peers_total", - "network_peers_connected", - JsonType::Integer, - ), + JsonMetric::new("libp2p_peers", "network_peers_connected", JsonType::Integer), JsonMetric::new( "libp2p_outbound_bytes", "network_libp2p_bytes_total_transmit",