Skip to content

Commit ca1d6fa

Browse files
Merge pull request #5306 from openshift-cherrypick-robot/cherry-pick-5297-to-release-4.19
[release-4.19] OCPBUGS-62164: Add mcd_local_unsupported_packages recording rule
2 parents ff3c19a + cc2ede2 commit ca1d6fa

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)