From f345afb9f5bc93bea8a7f67011afbe44e764fd0f Mon Sep 17 00:00:00 2001 From: Saketh Are Date: Thu, 2 Nov 2023 17:37:26 -0400 Subject: [PATCH] increment metric upon sending SyncSnapshotHosts --- chain/network/src/peer/peer_actor.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chain/network/src/peer/peer_actor.rs b/chain/network/src/peer/peer_actor.rs index 49771822095..22cdbc3d172 100644 --- a/chain/network/src/peer/peer_actor.rs +++ b/chain/network/src/peer/peer_actor.rs @@ -400,6 +400,9 @@ impl PeerActor { metrics::bool_to_str(d.requesting_full_sync), ]) .inc(), + PeerMessage::SyncSnapshotHosts(_) => { + metrics::SYNC_SNAPSHOT_HOSTS.with_label_values(&["sent"]).inc() + } _ => (), };