[ 
https://issues.apache.org/jira/browse/FLINK-29195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600554#comment-17600554
 ] 

Hangxiang Yu commented on FLINK-29195:
--------------------------------------

Actually, you could get the latest checkpoint statistics from the REST API[1] 
(including latest checkpoint id).
Does it meet your needs ?
[1]https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/ops/rest_api/#jobs-jobid-checkpoints

> Expose lastCheckpointId metric 
> -------------------------------
>
>                 Key: FLINK-29195
>                 URL: https://issues.apache.org/jira/browse/FLINK-29195
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / Checkpointing, Runtime / Metrics
>            Reporter: chenyuzhi
>            Priority: Major
>
>  May be we could expose the lastCheckpointId metric.
> With this metric, we could monitor for flink application and get notice when 
> the job restoring from an unexpect checkpoint, instead of extract 
> checkpointId from the metric lastCheckpointExternalPath



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

Reply via email to