Skip to content

Commit cc2ede2

Browse files
dkhater-redhatopenshift-cherrypick-robot
authored andcommitted
add new recording rule for unsuported packages
1 parent ff3c19a commit cc2ede2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install/0000_90_machine-config_01_prometheus-rules.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,9 @@ spec:
204204
description: >-
205205
Could not find config {{ $labels.mc }} in-cluster, this likely indicates the MachineConfigs in-cluster has changed during the install process.
206206
If you are seeing this when installing the cluster, please compare the in-cluster rendered machineconfigs to /etc/mcs-machine-config-content.json
207+
- name: telemetry.rules
208+
rules:
209+
- expr: count(mcd_local_unsupported_packages > 0)
210+
record: cluster:mcd_nodes_with_unsupported_packages:count
211+
- expr: sum(mcd_local_unsupported_packages)
212+
record: cluster:mcd_total_unsupported_packages:sum

0 commit comments

Comments
 (0)