← Back to Pull requests

feat: point backup dashboards at renamed velero_hcp_ metrics #7861

Open
unknown opened this pull request with 259 lines diff across 3 files
View on GitHub
unknown unknown commented on Oct 30, 2026 11:13 UTC
Author

Why

The schedule-derived Velero metrics are being routed to the HCP Azure Monitor
Workspace and renamed velero_ → velero_hcp_. The backup dashboards must
read the new names.

Jira: ARO-30517

What (this PR)

Rename the schedule-labeled velero metrics to velero_hcp_ in the Velero and
HCP backup SLO dashboards. Panels reading non-schedule series (backup_total,
restore_total, backup_location_status_gauge, repo_maintenance_
), which
stay in the services workspace, are left unchanged.

Note: metrics from non-scheduled backups are treated separately: ARO-30834

Rollout order

1. routing PR (+ transition duplicate)
2. alerts PR + this PR — merge after routing
3. duplication-revert PR

Verification


manually in prod
Screenshots:
Velero - Before:
<img width="1484" height="990" alt="image" src="https://github.com/user-attachments/assets/860a95f6-a225-45ea-ae49-0c99fae50d10" />
Velero - After:
<img width="1477" height="1024" alt="image" src="https://github.com/user-attachments/assets/2e8b5d0a-b99d-4192-8249-eb9d73b70440" />
HCP Backup & Restore SLO - Before:
<img width="1773" height="973" alt="image" src="https://github.com/user-attachments/assets/9eea238e-5f0b-48ed-9c57-f753319ef0a1" />
HCP Backup & Restore SLO - After:
<img width="1774" height="974" alt="image" src="https://github.com/user-attachments/assets/13567bb9-e7cd-4d87-8c1e-5835ff6a8a9e" />

Note: "30d Backup Success Rate" and "Error Budget Remaining (30d)" are only filled unreliably - but this was the case already before this PR and did not change. Bug-Ticket: https://redhat.atlassian.net/browse/ARO-30839

Related PRs

  • Routing (+ transition duplicate): Azure/ARO-HCP#7860

  • Alerts: Azure/ARO-HCP#7870

  • Dashboards: Azure/ARO-HCP#7861

  • Duplication revert: Azure/ARO-HCP#7862

  • Jira: ARO-30517
  • 🤖 Generated with Claude Code

    Diff: 259 lines (+194 / -65) across 3 files Reviewer: tmstff Review duration: 26139m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 259 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.333
    Real PR Conversation Timeline
    1 comments
    "Review active on #7861"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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.2% (MEDIUM) · Higher = larger blast radius
    39.2%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 20.9% · Safe to merge
    20.9%
    Repository