Skip to content

Commit

Permalink
increment metric upon sending SyncSnapshotHosts
Browse files Browse the repository at this point in the history
  • Loading branch information
saketh-are committed Nov 2, 2023
1 parent 3144647 commit f345afb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chain/network/src/peer/peer_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
_ => (),
};

Expand Down

0 comments on commit f345afb

Please sign in to comment.