From 8cec8a6793f44c5107d09e7e034f6b0c943a99c5 Mon Sep 17 00:00:00 2001 From: Akihito Nakano Date: Tue, 26 Mar 2024 12:10:26 +0900 Subject: [PATCH] Fix double counted metrics (#5476) * Fix double counted metrics --- beacon_node/lighthouse_network/src/peer_manager/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/beacon_node/lighthouse_network/src/peer_manager/mod.rs b/beacon_node/lighthouse_network/src/peer_manager/mod.rs index 8e5290630a..290dedfd78 100644 --- a/beacon_node/lighthouse_network/src/peer_manager/mod.rs +++ b/beacon_node/lighthouse_network/src/peer_manager/mod.rs @@ -803,9 +803,6 @@ impl PeerManager { // start a ping and status timer for the peer self.status_peers.insert(*peer_id); - // increment prometheus metrics - metrics::inc_counter(&metrics::PEER_CONNECT_EVENT_COUNT); - true }