← Back to Pull requests

fix(dashboard): replace hardcoded Prometheus datasource UID in envoy-gateway-global.json #10680

Closed
unknown closed this pull request without merging on Nov 25, 2026 06:02 UTC
View on GitHub
unknown unknown commented on Nov 24, 2026 14:08 UTC
Author

What this PR does / why we need it:

Replaces hardcoded Prometheus datasource UID PBFA97CFB590B2093 with $datasource on the refId: "A" targets of the three Wasm cache panels in charts/gateway-addons-helm/dashboards/envoy-gateway-global.json (Cache Entries, Cache Lookups, and Cache Remote Fetches), and updates the corresponding Helm template snapshots (test/helm/gateway-addons-helm/default.out.yaml and e2e.out.yaml).

All three panels already reference $datasource at the panel level (and Cache Remote Fetches target refId: "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 via refresh: 1) is left unchanged to keep the diff scoped to the broken panel queries.

Which issue(s) this PR fixes:

Fixes #10679

---

PR Checklist

  • Authorship & ownership: Coding agents / AI assistants are welcome, but I have reviewed every change, understand how and why it works, can explain and maintain it, and take full responsibility for this PR. I have not submitted generated output I do not understand.

  • DCO: All commits are signed off (git commit -s). See DCO: Sign your work.

  • API agreed first: N/A: no changes under /api.

  • Required checks pass: Pending CI (gen-check, lint).

  • Tests added/updated: Updated test/helm/gateway-addons-helm/default.out.yaml and test/helm/gateway-addons-helm/e2e.out.yaml snapshots to match the dashboard change.

  • Docs: N/A: no user-facing documentation changes.

  • Release notes: N/A: minor Grafana dashboard export fix.

  • Generated files committed: Updated test/helm/gateway-addons-helm/{default,e2e}.out.yaml snapshots.

  • Scope & compatibility: Scoped to the three hardcoded target datasource UIDs in envoy-gateway-global.json and the corresponding Helm snapshots.

  • Codex review: Pending review on draft PR.

  • Copilot review: Pending review on draft PR.
  • Diff: 275 lines (+206 / -69) across 3 files Reviewer: zirain Review duration: 953m
    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
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.6% (MEDIUM) · Higher = larger blast radius
    39.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.6% · Safe to merge
    15.6%