airbnb / kafka-statsd-metrics2

Send Kafka Metrics to StatsD.
Apache License 2.0
135 stars 49 forks source link

Counters are emitted as statsd gauges rather than counters #12

Open gregspurrier opened 9 years ago

gregspurrier commented 9 years ago

I noticed that StatsDReporter.processCounter is emitting statsd gauges rather than counters.

Is this a bug, or is there a need for this that I'm missing?

jun-he commented 9 years ago

statsd cannot send the whole metrics as an object and it sends metrics (such as counter or histogram) values (such as meanRate, 99percentile, etc.) to data store (e.g. datadog or tsdb) as gauge.