This is an automated email from the ASF dual-hosted git repository.
zaynt4606 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new e5d0ba2565 [CELEBORN-2513] Fix Grafana panel querying the non-existent
metrics_LocalFetchChunkTime_Max
e5d0ba2565 is described below
commit e5d0ba256511e616712624aaea1dc3bcf5a31c75
Author: yew1eb <[email protected]>
AuthorDate: Thu Nov 19 23:19:45 2026 +0800
[CELEBORN-2513] Fix Grafana panel querying the non-existent
metrics_LocalFetchChunkTime_Max
### What changes were proposed in this pull request?
The "Max" panel of the local fetch chunk time in
`assets/grafana/celeborn-dashboard.json` queries
`metrics_LocalFetchChunkTime_Max`, which no
code emits. The metric exported from `WorkerSource.FETCH_LOCAL_CHUNK_TIME =
"FetchLocalChunkTime"` is `metrics_FetchLocalChunkTime_Max`, as the sibling
"Mean" panel
already uses. Both the `expr` and the panel title are corrected.
### Why are the changes needed?
Because of the typo the panel is permanently "No data", while the adjacent
"Mean" panel
(`metrics_FetchLocalChunkTime_Mean`) works, so the Max/Mean pair looks
broken.
### Does this PR resolve a correctness bug?
- [ ] Yes
### Does this PR introduce _any_ user-facing change?
- [ ] Yes
The "Max" panel starts showing data instead of "No data".
### How was this patch tested?
- `grep -rn 'FetchLocalChunkTime|LocalFetchChunkTime'`: the only source
constant is
`WorkerSource.FETCH_LOCAL_CHUNK_TIME = "FetchLocalChunkTime"`, and timers
are exported
with a `_Max` suffix by `AbstractSource.getTimerMetrics`, so
`metrics_FetchLocalChunkTime_Max` is the emitted series.
- `python3 -c "import json;
json.load(open('assets/grafana/celeborn-dashboard.json'))"`
validates the edited dashboard JSON.
Note: the `metrics_RatisApplyCompletedIndexDiff_Value` panel title and the
matching
`RatisApplyCompletedIndexDiff` row in `docs/monitoring.md` are
intentionally left untouched,
since users already rely on them.
Closes #3909 from yew1eb/fix/dashboard-doc-metric-names.
Authored-by: yew1eb <[email protected]>
Signed-off-by: zhengtao <[email protected]>
AI-Contributed/Feature: 0/4
AI-Contributed/UT: 0/0
---
assets/grafana/celeborn-dashboard.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/grafana/celeborn-dashboard.json
b/assets/grafana/celeborn-dashboard.json
index 0a505040e9..277a3509b4 100644
--- a/assets/grafana/celeborn-dashboard.json
+++ b/assets/grafana/celeborn-dashboard.json
@@ -6068,12 +6068,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "expr":
"metrics_LocalFetchChunkTime_Max{instance=~\"${instance}\"}",
+ "expr":
"metrics_FetchLocalChunkTime_Max{instance=~\"${instance}\"}",
"legendFormat": "${baseLegend}",
"refId": "A"
}
],
- "title": "metrics_LocalFetchChunkTime_Max",
+ "title": "metrics_FetchLocalChunkTime_Max",
"type": "timeseries"
},
{