fix(dashboard): replace hardcoded Prometheus datasource UID in envoy-gateway-global.json #10680
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 275 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10680"
general
weight: 0.35
zirain
What this PR does / why we need it:
Replaces hardcoded Prometheus datasource UID
PBFA97CFB590B2093with$datasourceon therefId: "A"targets of the three Wasm cache panels incharts/gateway-addons-helm/dashboards/envoy-gateway-global.json(Cache Entries,Cache Lookups, andCache Remote Fetches), and updates the corresponding Helm template snapshots (test/helm/gateway-addons-helm/default.out.yamlande2e.out.yaml).All three panels already reference
$datasourceat the panel level (andCache Remote FetchestargetrefId: "B"also uses$datasource), so these three hardcoded target UIDs prevent the panels from resolving Prometheus when deployed in Grafana instances with a different datasource UID.templating.list[0].current.value(which refreshes on dashboard load viarefresh: 1) is left unchanged to keep the diff scoped to the broken panel queries.Which issue(s) this PR fixes:
Fixes #10679
---
PR Checklist
git commit -s). See DCO: Sign your work./api.gen-check,lint).test/helm/gateway-addons-helm/default.out.yamlandtest/helm/gateway-addons-helm/e2e.out.yamlsnapshots to match the dashboard change.test/helm/gateway-addons-helm/{default,e2e}.out.yamlsnapshots.envoy-gateway-global.jsonand the corresponding Helm snapshots.