Code

reset counter type to it's initial value
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 2 Dec 2014 20:49:47 +0000 (21:49 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 2 Dec 2014 20:49:47 +0000 (21:49 +0100)
It was a COUNTER, not a GAUGE before it got accidentally deleted by
6372ca6a38.

src/types.db

index 7410243d5bbfe236acbd221c101163623ecd55ec..a454a2b542e8696a3935f49939b9c3a1cf8ccccc 100644 (file)
@@ -23,7 +23,7 @@ connections           value:DERIVE:0:U
 conntrack              value:GAUGE:0:4294967295
 contextswitch          value:DERIVE:0:U
 count                  value:GAUGE:0:U
-counter                        value:GAUGE:0:U
+counter                        value:COUNTER:U:U
 cpufreq                        value:GAUGE:0:U
 cpu                    value:DERIVE:0:U
 current_connections    value:GAUGE:0:U