flink
flink copied to clipboard
[FLINK-29195] Expose lastCompletedCheckpointId metric
What is the purpose of the change
Expose the lastCheckpointId metric.
Brief change log
-
Register
LatestCompletedCheckpointIdGauge
named "lastCheckpointId" toCheckpointStatsTracker
Verifying this change
This change is already covered by existing tests, such as CheckpointStatsTrackerTest.
Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
@Public(Evolving)
: (no) - The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
- The S3 file system connector: (no)
Documentation
- Does this pull request introduce a new feature? (yes)
- If yes, how is the feature documented? (docs)
CI report:
- addb6fa7250f8a833957146a60bd5a4fd2a6590f Azure: SUCCESS
Bot commands
The @flinkbot bot supports the following commands:-
@flinkbot run azure
re-run the last Azure build
@flinkbot run azure
@flinkbot run azure
LGTM, @curcur Do you have other comments ?
Please also update the title and description correspondingly.
@flinkbot run azure
@flinkbot run azure
I do not have other comments, please update the commit msg, and I will merge the code.
@flinkbot run azure
The commit-msg needs to be changed to
[FLINK-29195][runtime/Checkpoint] Expose lastCompletedCheckpointId metric
@curcur ok, I have fixed it.
Thanks for fixing up this @chenyuzhi459