I meant the Flink jobname. I’m using the below reporter -
metrics.reporter.prom.class: org.apache.flink.metrics.prometheus.PrometheusReporter Is there any way to tag job names to the task and job manager metrics. Thanks, Hemant On Fri, 19 Feb 2021 at 12:40 AM, Chesnay Schepler <ches...@apache.org> wrote: > When you mean "job_name", are you referring to the Prometheus concept of > jobs, of the one of Flink? > > Which of Flink prometheus reporters are you using? > > On 2/17/2021 7:37 PM, bat man wrote: > > Hello there, > > > > I am using prometheus to push metrics to prometheus and then use > > grafana for visualization. There are metrics like > > > - flink_taskmanager_Status_JVM_CPU_Load, > flink_taskmanager_Status_JVM_CPU_Load, flink_taskmanager_Status_JVM_CPU_Time > > > etc which do not gives job_name. It is tied to an instance. > > When running multiple jobs in the same yarn cluster it is possible > > that different jobs have yarn containers on the same instance, in this > > case it is very difficult to find out which instance has high CPU > > load, Memory usage etc. > > > > Is there a way to tag job_name to these metrics so that the metrics > > could be visualized per job. > > > > Thanks, > > Hemant > > >