[ https://issues.apache.org/jira/browse/FLINK-38182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
richard_zhulh updated FLINK-38182: ---------------------------------- Attachment: image-2025-08-02-12-46-26-379.png Description: When a checkpoint fails, the {{lastCheckpointDuration}} metric would use {{{}LatestCompletedCheckpointDurationGauge{}}}, but in reality, it should obtain the value as {{{}(the time of the failed checkpoint - latestFailedCheckpoint.getEndToEndDuration()){}}}. !image-2025-08-02-12-46-26-379.png! was:When a checkpoint fails, the {{lastCheckpointDuration}} metric would use {{{}LatestCompletedCheckpointDurationGauge{}}}, but in reality, it should obtain the value as {{{}(the time of the failed checkpoint - latestFailedCheckpoint.getEndToEndDuration()){}}}. > lastCheckpointDuration is not right. > ------------------------------------ > > Key: FLINK-38182 > URL: https://issues.apache.org/jira/browse/FLINK-38182 > Project: Flink > Issue Type: Bug > Components: Runtime / Checkpointing > Affects Versions: 1.8.2 > Reporter: richard_zhulh > Priority: Major > Attachments: image-2025-08-02-12-46-26-379.png > > > When a checkpoint fails, the {{lastCheckpointDuration}} metric would use > {{{}LatestCompletedCheckpointDurationGauge{}}}, but in reality, it should > obtain the value as {{{}(the time of the failed checkpoint - > latestFailedCheckpoint.getEndToEndDuration()){}}}. > !image-2025-08-02-12-46-26-379.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)