dash for namespaces (#649)

This commit is contained in:
anatoly yakovenko
2018-07-16 15:55:54 -07:00
committed by GitHub
parent ab3e460e64
commit 015b7a1ddb

View File

@ -50,7 +50,7 @@ impl Counter {
}
if times % INFLUX_RATE == 0 && times > 0 {
metrics::submit(
influxdb::Point::new(&format!("counter_{}", self.name))
influxdb::Point::new(&format!("counter-{}", self.name))
.add_field(
"count",
influxdb::Value::Integer(counts as i64 - lastlog as i64),