anyone knows how to enable metrics in flink-operat...
# troubleshooting
t
anyone knows how to enable metrics in flink-operator:1.7, I have deployed flink-operator in kubernetes cluster using helm. i can able to get the metrics in promtheuis for jobmanager but taskmanager metrics are not populating in prometheuis. please advice
n
What does your configuration look like? I can share mine if that helps:
Copy code
configuration:
    metrics.reporter.dghttp.factory.class: path/to/class/DatadogHttpReporterFactory
    metrics.reporter.dghttp.dataCenter: EU
    metrics.reporter.dghttp.interval: 10 SECONDS
    metrics.reporter.dghttp.scope.variables.excludes: 
      host;job_id;task_id;job_name;tm_id;subtask_index;operator_id;task_attempt_id;task_attempt_num
    metrics.scope.jm: flink.jobmanager
    metrics.scope.jm.job: flink.jobmanager.job
    metrics.scope.tm: flink.taskmanager
    metrics.scope.tm.job: flink.taskmanager.job
    metrics.scope.task: flink.task
    metrics.scope.operator: flink.operator
maybe you're missing something obvious?
t
let me verify my configuration with above details and come back to you.
Thanks for assistance