Skip to content

Commit c9ed8d9

Browse files
committed
RHIDP-12524: updated threshold based on dev feebdack
1 parent 4f90bf2 commit c9ed8d9

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

modules/observability_evaluate-project-health-using-scorecards/proc-configure-an-aggregation-card-with-an-average-tracking-type.adoc

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,25 @@ scorecard:
3636
+
3737
[source,yaml]
3838
----
39-
options:
40-
statusScores:
41-
success: 100
42-
warning: 50
43-
error: 0
44-
thresholds:
45-
- max: 39
46-
status: error
47-
- min: 40
48-
max: 74
49-
status: warning
50-
- min: 75
51-
status: success
39+
options:
40+
statusScores:
41+
success: 100
42+
warning: 50
43+
error: 0
44+
thresholds:
45+
rules:
46+
- key: success
47+
expression: '>=80'
48+
color: '#6bb300'
49+
- key: warning
50+
expression: '51-80'
51+
color: 'rgb(224, 189, 108)'
52+
- key: error
53+
expression: '<51'
54+
color: '#be1ec7'
55+
- key: critical
56+
expression: '<10'
57+
color: '#ff0000'
5258
----
5359

5460
. Open your dynamic plugin configuration file.

0 commit comments

Comments
 (0)