From 015b7a1ddbb45ac980b1452e24d5b27e4f4cc54e Mon Sep 17 00:00:00 2001 From: anatoly yakovenko Date: Mon, 16 Jul 2018 15:55:54 -0700 Subject: [PATCH] dash for namespaces (#649) --- src/counter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/counter.rs b/src/counter.rs index cb82494bd..ff77388b4 100644 --- a/src/counter.rs +++ b/src/counter.rs @@ -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),