Adjust log level for counter metrics (#4323)

This commit is contained in:
Pankaj Garg
2019-05-17 07:00:06 -07:00
committed by GitHub
parent e920191de0
commit b2ce5dc9f5
14 changed files with 120 additions and 74 deletions

View File

@@ -4,7 +4,7 @@ use crate::result::{Error, Result};
use bincode;
use byteorder::{ByteOrder, LittleEndian};
use serde::Serialize;
use solana_metrics::inc_new_counter_info;
use solana_metrics::inc_new_counter_debug;
use solana_sdk::hash::Hash;
pub use solana_sdk::packet::PACKET_DATA_SIZE;
use solana_sdk::pubkey::Pubkey;
@@ -245,7 +245,7 @@ impl Packets {
}
}
self.packets.truncate(i);
inc_new_counter_info!("packets-recv_count", i);
inc_new_counter_debug!("packets-recv_count", i);
Ok(i)
}