counter -> total.

This commit is contained in:
Bjoern Rabenstein 2014-06-27 18:51:29 +02:00
parent 65e9c49ca8
commit 87a3310e83

View file

@ -13,21 +13,21 @@ import (
var ( var (
eventStats = prometheus.NewCounterVec( eventStats = prometheus.NewCounterVec(
prometheus.CounterOpts{ prometheus.CounterOpts{
Name: "statsd_bridge_events_count", Name: "statsd_bridge_events_total",
Help: "The total number of StatsD events seen.", Help: "The total number of StatsD events seen.",
}, },
[]string{"type"}, []string{"type"},
) )
networkStats = prometheus.NewCounterVec( networkStats = prometheus.NewCounterVec(
prometheus.CounterOpts{ prometheus.CounterOpts{
Name: "statsd_bridge_packets_count", Name: "statsd_bridge_packets_total",
Help: "The total number of StatsD packets seen.", Help: "The total number of StatsD packets seen.",
}, },
[]string{"type"}, []string{"type"},
) )
configLoads = prometheus.NewCounterVec( configLoads = prometheus.NewCounterVec(
prometheus.CounterOpts{ prometheus.CounterOpts{
Name: "statsd_bridge_config_reloads_count", Name: "statsd_bridge_config_reloads_total",
Help: "The number of configuration reloads.", Help: "The number of configuration reloads.",
}, },
[]string{"outcome"}, []string{"outcome"},