← Back to Pull requests

[Grafana] Update dashboards to Ray 2.56 and fix auto-load ConfigMap size limit #4977

Closed
unknown closed this pull request without merging on Jul 07, 2026 03:09 UTC
View on GitHub
unknown unknown commented on Jul 06, 2026 22:02 UTC
Author

Why are these changes needed?

Update the Grafana dashboards under config/grafana to the versions shipped with Ray 2.56.0 (the latest release), following the KubeRay Prometheus/Grafana docs. The dashboards were copied from a rayproject/ray:2.56.0 head pod at /tmp/ray/session_latest/metrics/grafana/dashboards/.

This refreshes the existing dashboards and adds the new data_llm_grafana_dashboard.json introduced in Ray.

install.sh fix

The combined dashboards now total ~1.37MB, which exceeds the ~1MB Kubernetes object size limit. install/prometheus/install.sh previously bundled every dashboard into a single grafana-dashboards ConfigMap, which now fails with --auto-load-dashboard true. This PR creates one ConfigMap per dashboard file instead, lowercasing/normalizing names so they are valid RFC 1123 object names.

Related issue number

<!-- For example: "Closes #1234" -->

Checks

Verified locally on a Kind cluster with install/prometheus/install.sh + a raycluster-embed-grafana RayCluster running rayproject/ray:2.56.0:

  • All 9 dashboards (7 Ray + 2 KubeRay, including the new Data LLM dashboard) load into Grafana via the fixed auto-load path.

  • Prometheus ray-head-monitor, ray-workers-monitor, and kuberay-operator targets are up.

  • bash -n install/prometheus/install.sh passes.
  • Manually test

    Ray dashboard
    <img width="3436" height="1232" alt="Screenshot 2026-07-06 at 3 23 09 PM" src="https://github.com/user-attachments/assets/086c4a8e-05c7-42b4-9f3e-4d96c2045d06" />

    Grafana
    <img width="1152" height="1067" alt="Screenshot 2026-07-06 at 3 22 44 PM" src="https://github.com/user-attachments/assets/e8e6e254-274b-4149-8dd9-f234573a4ec6" />

    Diff: 233 lines (+174 / -59) across 2 files Reviewer: Future-Outlier Review duration: 307m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.65 · 233 lines diff across 2 files
    0.65
    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.326
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.065
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #4977"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 65.3% (HIGH) · Higher = larger blast radius
    65.3%
    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: 25.8% · Safe to merge
    25.8%