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
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);
}