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:
parent
17af3ab10a
commit
cd7f03bc88
|
@ -2515,9 +2515,6 @@ impl ClusterInfo {
|
|||
stakes,
|
||||
response_sender,
|
||||
);
|
||||
self.stats
|
||||
.process_gossip_packets_iterations_since_last_report
|
||||
.add_relaxed(1);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue