Fix vote metrics (#5377)

This commit is contained in:
Justin Starry 2019-08-01 09:11:49 -04:00 committed by GitHub
parent 22891b39d6
commit 3ab1b46ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -337,7 +337,6 @@ impl MetricsAgent {
}
pub fn submit(&self, mut point: influxdb::Point, level: log::Level) {
point.add_tag("host_id", influxdb::Value::String(HOST_ID.to_string()));
if point.timestamp.is_none() {
point.timestamp = Some(timing::timestamp() as i64);
}

View File

@ -127,7 +127,7 @@ pub fn process_instruction(
keyed_accounts: &mut [KeyedAccount],
data: &[u8],
) -> Result<(), InstructionError> {
solana_logger::setup();
solana_logger::setup_with_filter("solana=warn");
trace!("process_instruction: {:?}", data);
trace!("keyed_accounts: {:?}", keyed_accounts);