Skip to content

Commit 8cec8a6

Browse files
authored
Fix double counted metrics (#5476)
* Fix double counted metrics
1 parent e4d4e43 commit 8cec8a6

File tree

1 file changed

+0
-3
lines changed
  • beacon_node/lighthouse_network/src/peer_manager

1 file changed

+0
-3
lines changed

beacon_node/lighthouse_network/src/peer_manager/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,6 @@ impl<TSpec: EthSpec> PeerManager<TSpec> {
803803
// start a ping and status timer for the peer
804804
self.status_peers.insert(*peer_id);
805805

806-
// increment prometheus metrics
807-
metrics::inc_counter(&metrics::PEER_CONNECT_EVENT_COUNT);
808-
809806
true
810807
}
811808

0 commit comments

Comments
 (0)