branch-4.1: [improve](streaming-job) add per-job lag metric to streaming insert jobs #63194#63271
Open
github-actions[bot] wants to merge 1 commit into
Open
branch-4.1: [improve](streaming-job) add per-job lag metric to streaming insert jobs #63194#63271github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Member
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
FE Regression Coverage ReportIncrement line coverage |
…obs (#63194) ### What problem does this PR solve? Related PR: #62224 (per-job metrics), #62269 (Lag column) Problem Summary: #62224 introduced per-job metrics (`streaming_job_per_job_scanned_rows`, `_load_bytes`, `_filtered_rows`, `_succeed_task_count`, `_failed_task_count`) for streaming insert jobs, exposed via `/metrics` with `job_id`/`job_name` labels for Prometheus. #62269 later added a `Lag` column to `SHOW JOBS` / `jobs()` TVF that reports end-to-end CDC delay in seconds, but the value was only exposed through SQL — there was no corresponding Prometheus metric, so dashboards/alerting on lag was not possible. This PR adds `streaming_job_per_job_lag` (unit: `SECONDS`) to the existing per-job metric set.
8d2e425 to
7f7b9c2
Compare
Member
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
FE Regression Coverage ReportIncrement line coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picked from #63194