```ERROR org.apache.flink.runtime.metrics.Reporter...
# troubleshooting
z
Copy code
ERROR org.apache.flink.runtime.metrics.ReporterSetup               [] - Could not instantiate metrics reporter dghttp. Metrics might not be exposed/reported.
Copy code
root@de-counters-8699d5bc76-8h4n7:/opt/flink/conf# cat flink-conf.yaml | grep metrics
metrics.reporter.dghttp.apikey: apikey
metrics.scope.task: flink.task
<http://metrics.scope.tm|metrics.scope.tm>: flink.taskmanager
metrics.reporter.dghttp.dataCenter: US1
metrics.scope.operator: flink.operator
metrics.reporter.dghttp.factory.class: org.apache.flink.metrics.datadog.DatadogHttpReporterFactory
metrics.scope.jm.job: flink.jobmanager.job
<http://metrics.scope.jm|metrics.scope.jm>: flink.jobmanager
metrics.scope.tm.job: flink.taskmanager.job
I think I have everything configured correctly
found the issue.
metrics.reporter.dghttp.dataCenter: US
l
Can you provide the whole logs? Maybe we can find something.
z
I found the issue in the logs. Basically DD documentation provides an incorrect example that Flink can’t process.
took me a while to pinpoint that specific log line though.