dash for namespaces (#649)
This commit is contained in:
parent
ab3e460e64
commit
015b7a1ddb
|
@ -50,7 +50,7 @@ impl Counter {
|
||||||
}
|
}
|
||||||
if times % INFLUX_RATE == 0 && times > 0 {
|
if times % INFLUX_RATE == 0 && times > 0 {
|
||||||
metrics::submit(
|
metrics::submit(
|
||||||
influxdb::Point::new(&format!("counter_{}", self.name))
|
influxdb::Point::new(&format!("counter-{}", self.name))
|
||||||
.add_field(
|
.add_field(
|
||||||
"count",
|
"count",
|
||||||
influxdb::Value::Integer(counts as i64 - lastlog as i64),
|
influxdb::Value::Integer(counts as i64 - lastlog as i64),
|
||||||
|
|
Loading…
Reference in New Issue