Join Slack
Powered by
Hey folks trying to troubleshoot why counter metri...
# troubleshooting
i
Iris Grace Endozo
05/09/2023, 11:14 AM
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. Wondering if anyone else has hit this issue?
Open in Slack
Previous
Next