Hey folks trying to troubleshoot why counter metrics are appearing as gauges on 
my end. Is it expected that the StatsdMetricsReporter is reporting gauges for 
counters as well?

Looking at this one: 
https://github.com/apache/flink/blob/master/flink-metrics/flink-metrics-statsd/src/main/java/org/apache/flink/metrics/statsd/StatsDReporter.java#L207:
 the statsd specifications state that counters need to be reported as <metric 
name>:<value>|c[|@<sample rate>] but it seems it's defaulting to "%s:%s|g" in 
the above. Ref: https://github.com/b/statsd_spec#counters

Wondering if anyone else has hit this issue or there's an existing issue?

Cheers, Iris.

--

Iris Grace Endozo, Senior Software Engineer
M +61 435 108 697
E iris.end...@gmail.com

Reply via email to