[ 
https://issues.apache.org/jira/browse/FLINK-32636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenyuzhi updated FLINK-32636:
------------------------------
    Attachment: image-2023-07-20-17-04-53-069.png

> Promethues metric exporter expose stopped job metric
> ----------------------------------------------------
>
>                 Key: FLINK-32636
>                 URL: https://issues.apache.org/jira/browse/FLINK-32636
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Metrics
>    Affects Versions: 1.14.0
>         Environment: flink-1.14.0
>            Reporter: chenyuzhi
>            Priority: Major
>         Attachments: image-2023-07-20-17-02-01-660.png, 
> image-2023-07-20-17-02-37-625.png, image-2023-07-20-17-04-18-489.png, 
> image-2023-07-20-17-04-53-069.png
>
>
> Firstly, I have submitted two jobs(let's say jobA/jobB ) to flink session. 
> When I stopped one jobA, the promethues reporter continutly reports the 
> metric of jobA and jobB. 
> However, the jmx reporter only reports  the metric of jobB.
>  
>  It's unreasonable to report the metric of stopped jobA.
>  
> JMX reporter metric snapshot:
> !image-2023-07-20-17-02-01-660.png!
>  
> promethues metric snapshot:
>  
> !image-2023-07-20-17-02-37-625.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to