For a flink application, I am publishing flink metrics using StatsdReporter on Datadog. Getting errors in log:
- .isBackPressured:false|g"': could not parse dogstatsd metric values: strconv.ParseFloat: parsing "false": invalid syntax
- KafkaSourceReader.KafkaConsumer.version:2.8.0|g"': could not parse dogstatsd metric values: strconv.ParseFloat: parsing "2.8.0": invalid syntax
- Source.KafkaSourceReader.KafkaConsumer.commit-id:ebb1d6e21cc92130|g"': could not parse dogstatsd metric values: strconv.ParseFloat: parsing "ebb1d6e21cc92130": invalid syntax
and more suce errors. How to fix?. for flink-version: 1.14.3
Sending metrics to datadog using flink StatsdReporter and datadog agent. Got parsing error.
All metrics are of type
doubleso you can't pass strings. Those bits of information need to be passed as tags. If possible, you should consider using the HTTP integration viaDatadogHttpReporter, which will pass variables as tags by default for most things, and make it easy to configure for others.