Rate limit counter metrics points to one per second (#5496)

* Rate limit counter metrics points to one per second

* Remove old env var

* Test that metrics counter is incrementing

* Fix typo
This commit is contained in:
Justin Starry
2019-08-12 18:15:34 -04:00
committed by GitHub
parent 771d1a78fd
commit 0fde19239b
12 changed files with 209 additions and 163 deletions

View File

@ -1170,7 +1170,7 @@ impl ClusterInfo {
stakes: &HashMap<Pubkey, u64>,
) -> Vec<SharedBlob> {
let self_id = me.read().unwrap().gossip.id;
inc_new_high_rate_counter_debug!("cluster_info-push_message", 1);
inc_new_counter_debug!("cluster_info-push_message", 1);
let updated: Vec<_> =
me.write()