go-statsd
go-statsd copied to clipboard
Counter meaning in grafana (statsd -> telegraf -> influxdb -> grafana)
Sorry for my lack of knowledge about statsd. I'm using your go-statsd to count events in my logs shipper app. Everytimes it receives an event, it increases stat.inputEvents by one. Then, I use grafana to visualize this stat:
Data source: InfluxDB
Query: SELECT "value" FROM "stat_inputEvents" WHERE ("metric_type" = 'counter') AND $timeFilter
Since the graph is not always going up, so it is not counter from beginning. So what does its value mean please? Events per second, events per ten seconds, ...?
Hi @thangld322
so it is not counter from beginning.
I dont get that part, counter is
a cumulative metric that represents a single monotonically increasing counter whose value can only increase or be reset to zero on restart.