← Back to Pull requests

feat(observability): extend HyperShift user-journey dashboard (ARO-27788) #7911

Closed
unknown closed this pull request without merging on Nov 23, 2026 18:00 UTC
View on GitHub
unknown unknown commented on Nov 02, 2026 18:08 UTC
Author

ARO-27788

What

Complete the HyperShift user-journey dashboard coverage by extending the dashboard delivered in ARO-27787:

  • Add availability accounting, p50/p95/p99 latency, completed provisioning outcomes, and CPU/memory/disk/pod capacity gauges.

  • Add objective lines, breach thresholds, remaining error budgets, and telemetry coverage indicators.

  • Distinguish missing telemetry and idle traffic from healthy results.

  • Add availability recording rules, generated deployment artifacts, and regression tests.
  • Why

    SREs need an at-a-glance view of component health and user-journey outcomes against their objectives. Missing telemetry must not appear healthy, partial observation windows must not imply full-window compliance, and provisioning success must reflect completed operations rather than disappearing wait gauges.

    Testing

    Testing is required for feature completion and tests should be part of the pull
    request along with the feature changes.

    Describe the testing provided. If you did not add tests, provide a clear
    justification.

  • Unit tests: added Promtool recording-rule and dashboard-query regressions covering short outages, missing telemetry, idle traffic, completed provisioning outcomes, and overspent budgets.

  • Integration tests: not run; no application API or persistence behavior changes.

  • E2E tests: not run; live telemetry is unavailable. Dashboard rendering was validated with isolated synthetic Prometheus fixtures.
  • Validation:

  • cd tooling/prometheus-rules && GOTOOLCHAIN=auto go test ./... — passed.

  • From tooling/prometheus-rules: GOTOOLCHAIN=auto /Users/chreed/go/bin/golangci-lint-v2.5.0 run --config ../../.golangci.yml — passed, zero issues.

  • From repository root: GOTOOLCHAIN=auto go run ./tooling/grafanactl/main.go verify dashboards --config-file observability/observability.yaml — passed.

  • git diff --check — passed.
  • Rendered before/after, healthy, breached, idle, and missing-data scenarios in Grafana against synthetic Prometheus data, with zero query or browser errors.

    Special notes for your reviewer

    Component targets remain explicitly provisional. Live collection, datasource-label verification, historical baselining, and owner review of targets are deferred until telemetry exists. Synthetic validation demonstrates dashboard behavior, not real SLO compliance.

    Existing provisioning objectives are reused. Provisioning outcomes use a 3-day window; component objectives use 30 days with observation coverage shown explicitly. Capacity thresholds are operational guides, not approved business SLOs.

    Existing dashboard identity, registration, and paging policy are unchanged. This extends rather than duplicates ARO-27787.

    PR Checklist

  • PR is scoped to a single task (no mixed concerns)

  • Title follows Conventional Commits format

  • Summary explains the "Why" behind the change

  • Linked to relevant ticket/issue

  • Screenshots included (if dashboards or other UI changes)

  • Self-reviewed the diff

  • CI/CD checks are passing (ignore Tide)

  • Draft PR used for WIP (if applicable)

  • Commit history is clean (rebased/squashed)

  • Tricky code blocks are commented

  • Specific reviewers tagged

  • All comment threads resolved before merge
  • Diff: 449 lines (+336 / -113) across 5 files Reviewer: shubhadapaithankar Review duration: 30231m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 449 lines diff across 5 files
    0.45
    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.366
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #7911"
    general weight: 0.35
    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: 45.4% (MEDIUM) · Higher = larger blast radius
    45.4%
    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: 17.9% · Safe to merge
    17.9%
    Repository