[CelerData] Add slow_lock_held_time_ms and and slow_lock_wait_time_ms metrics metrics#3021
Open
jaogoy wants to merge 3 commits into
Open
[CelerData] Add slow_lock_held_time_ms and and slow_lock_wait_time_ms metrics metrics#3021jaogoy wants to merge 3 commits into
jaogoy wants to merge 3 commits into
Conversation
…rics StarRocks FE introduced two summary metrics for slow-lock observability in StarRocks/starrocks#66027 (back-ported to 4.0/3.5): - starrocks_fe_slow_lock_held_time_ms — how long locks were held when slow locks were detected (max across owners). - starrocks_fe_slow_lock_wait_time_ms — how long waiters waited before the lock was acquired. Both are emitted as Prometheus summary (quantiles 0.75/0.95/0.98/0.99/0.999 plus _sum / _count), so map them with the same three-line pattern already used by other histogram metrics in this integration. Add corresponding metadata.csv entries. Bump version to 1.3.0 and update CHANGELOG + README. Signed-off-by: Planck Li <jaogoy@gmail.com>
|
…rics StarRocks FE introduced two summary metrics for slow-lock observability in StarRocks/starrocks#66027 (back-ported to 4.0/3.5): - starrocks_fe_slow_lock_held_time_ms — how long locks were held when slow locks were detected (max across owners). - starrocks_fe_slow_lock_wait_time_ms — how long waiters waited before the lock was acquired. Both are emitted as Prometheus summary (quantiles 0.75/0.95/0.98/0.99/0.999 plus _sum / _count), so map them with the same three-line pattern already used by other histogram metrics in this integration. Add corresponding metadata.csv entries. Bump version to 1.3.0 and update CHANGELOG + README. Also regenerate config_models/{defaults,instance}.py via `ddev validate models celerdata -s` (ddev 16.1.1) — the generated files had drifted from their spec.yaml source since the previous sync in 1.2.0, which CI flags as out-of-sync. These changes are auto-generated and not behavioral. Signed-off-by: Planck Li <jaogoy@gmail.com>
urseberry
approved these changes
May 29, 2026
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.
What does this PR do?
Celerdata/StarRocks FE introduced two summary metrics for slow-lock observability in StarRocks/starrocks#66027:
starrocks_fe_slow_lock_held_time_ms— how long locks were held when slow locks were detected (max across owners).starrocks_fe_slow_lock_wait_time_ms— how long waiters waited before the lock was acquired.Both are emitted as Prometheus summary (quantiles 0.75/0.95/0.98/0.99/0.999 plus _sum / _count), so map them with the same three-line pattern already used by other histogram metrics in this integration. Add corresponding
metadata.csventries.Motivation
It's important to monitor the lock info when the cluster is pending for a lot of loadings and queries.
Review checklist
no-changeloglabel attachedAdditional Notes
Anything else we should know when reviewing?