[ https://issues.apache.org/jira/browse/FLINK-22164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344078#comment-17344078 ]
Lu Niu commented on FLINK-22164: -------------------------------- [~trohrmann] This is the POC code for adding this feature [https://github.com/apache/flink/pull/15916] . this proves to work in our yarn deployment. Please let us know whether we are in the right direction. Thanks! > Add jobId and JobName variable to JobManager metrics in per-job deployment > mode > ------------------------------------------------------------------------------- > > Key: FLINK-22164 > URL: https://issues.apache.org/jira/browse/FLINK-22164 > Project: Flink > Issue Type: Improvement > Components: Runtime / Metrics > Reporter: Lu Niu > Priority: Minor > > We expose all flink metrics to external system for monitoring and alerting. > However, JobManager metrics only have one variable <hostname>, which is not > enough to target to one job when job is deployed to YARN. If flink job runs > in per-job mode, which ensure one job per cluster, we can add jobId and > JobName to JobMananger metrics. -- This message was sent by Atlassian Jira (v8.3.4#803005)