remove duplicate metric reporting in cluster_info_stats3 (#32566)

process_gossip_packets_iterations_since_last_report measures the same loop count as gossip_listen_loop_iterations_since_last_report which already exists
This commit is contained in:
Greg Cusack 2023-07-24 08:01:07 -07:00 committed by GitHub
parent 17af3ab10a
commit cd7f03bc88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View File

@ -2515,9 +2515,6 @@ impl ClusterInfo {
stakes,
response_sender,
);
self.stats
.process_gossip_packets_iterations_since_last_report
.add_relaxed(1);
Ok(())
}

View File

@ -143,7 +143,6 @@ pub struct GossipStats {
pub(crate) packets_sent_pull_requests_count: Counter,
pub(crate) packets_sent_pull_responses_count: Counter,
pub(crate) packets_sent_push_messages_count: Counter,
pub(crate) process_gossip_packets_iterations_since_last_report: Counter,
pub(crate) process_gossip_packets_time: Counter,
pub(crate) process_prune: Counter,
pub(crate) process_pull_requests: Counter,
@ -411,13 +410,6 @@ pub(crate) fn submit_gossip_stats(
.clear(),
i64
),
(
"process_gossip_packets_iterations_since_last_report",
stats
.process_gossip_packets_iterations_since_last_report
.clear(),
i64
),
);
datapoint_info!(
"cluster_info_stats4",