raoraoxiong opened a new pull request, #28965: URL: https://github.com/apache/flink/pull/28965
## Purpose Adds observability for Regional Checkpoint (FLIP-600 Phase 7-9): metrics, REST API fields, and Web UI display. ## Changes **Commit 1: Metrics and REST API** - Rename metric to `regional_checkpoint_count` (snake_case) and change from Gauge to Counter - Add `ref_checkpoint_id` to CompletedSubtaskCheckpointStatistics - Add `oldest_ref_checkpoint_id` to TaskCheckpointStatistics and CheckpointStatistics (cross-subtask/task min aggregation) - Add `regional_checkpoint_enabled`, `regional_max_failure_ratio`, `regional_max_consecutive_failures` to CheckpointConfigInfo - Wire data channel: OperatorSubtaskState.refCheckpointId → SubtaskStateStats → TaskStateStats → CheckpointStatistics - Regenerate REST API snapshot **Commit 2: Web UI** - Display Regional Checkpoint configuration in checkpoint config page - Display `ref_checkpoint_id` per subtask in checkpoint detail page - Add `oldest_ref_checkpoint_id` column in checkpoint statistics ## Testing - Unit tests: metric counter, REST API field round-trip, cross-subtask/task min aggregation - REST API stability test passes with regenerated snapshot ## Dependencies - Depends on PR #2 (FLINK-40209): Regional Checkpoint core mechanism (refCheckpointId infrastructure) Generated-by: CodeBuddy Code (GLM-5.2) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
