-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: PC-13724 Add custom thresholds for SHR (#530)
## Motivation Currently, System Health Review report is built using error budget remaining metric. Whether an SLO is marked as Red (Exhausted), Green (Healthy), or Yellow (At Risk) depends upon a static value. This PR opens up a window towards user-defined thresholds. If user decides that SLO should be marked as Healthy when it has more than 50% budget remaining, they will set `spec.systemHealthReview.thresholds.greenGt` field to `0.5`. If user wants to remove AtRisk threshold, they will set `spec.systemHealthReview.thresholds.redLte` to the same value as `greenGt` (`0.5`). Additionally, if users decides that NoData SLOs are supposed to be displayed on their report, a field `ShowNoData` is provided that can be set to true in such case. ## Summary `Thresholds` object with three fields (`GreenGreaterThan`, `RedLessThanOrEqualTo` and `ShowNoData`) was added to `SystemHealthReviewConfig` along with validation of said fields. ## Release Notes `Thresholds` object with three fields (`GreenGreaterThan`, `RedLessThanOrEqualTo` and `ShowNoData`) was added to `SystemHealthReviewConfig`. It allows users to define custom values for `Healthy` (`Green`), `AtRisk` (`Yellow`) and `Exhausted` (`Red`) thresholds and to decide whether to display or hide `NoData` SLOs on System Health Review report. It will be available once Nobl9 platform version 1.97.2 is released.
- Loading branch information
1 parent
3af59f1
commit 107fd6f
Showing
7 changed files
with
182 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.