ROSAENG-15456: add per-investigation-type 'triage acceleration' Grafa…#850
Conversation
…na dashboard panel
|
@rolandmkunkel: This pull request references ROSAENG-15456 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughA new Grafana stat panel ("Estimated SRE hours saved (triage acceleration)") is added to the dashboard ConfigMap. It queries ChangesGrafana Dashboard Panel Addition
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rolandmkunkel The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@rolandmkunkel: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #850 +/- ##
==========================================
+ Coverage 43.09% 43.14% +0.04%
==========================================
Files 71 71
Lines 8254 8270 +16
==========================================
+ Hits 3557 3568 +11
- Misses 4484 4489 +5
Partials 213 213 🚀 New features to boost your workflow:
|
…na dashboard panel
What type of PR is this?
feature
What this PR does / Why we need it?
Adds a new Grafana dashboard panel titled "Estimated SRE hours saved (triage acceleration)" to the existing CAD dashboard. The existing "Estimated SRE hours saved" panel only counts prevented alerts (where CAD took a terminal action like setting limited support or sending a service log) using a flat
15-minute heuristic. The three new informational investigations from SREP-4516 accelerate triage but don't prevent pages — their value isn't captured by the existing panel.
The new panel computes estimated hours saved using per-investigation manual-time estimates:
Each term uses OR on() vector(0) to gracefully handle investigation types that have no metric data yet (e.g., pdbblockingnodedrain is not yet merged).
Resolves https://redhat.atlassian.net/browse/ROSAENG-15456
Special notes for your reviewer
Test Coverage
Guidelines for CAD investigations
Test coverage checks
Pre-checks (if applicable)
Summary by CodeRabbit
New Features
UI Updates