Skip to content

Commit 963692e

Browse files
Merge pull request #1829 from jan--f/cp-topo-recording-rule
MON-4161: add `cluster:controlplane_topology:sum` recording rule
2 parents 4dce19d + fa69c81 commit 963692e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

manifests/0000_90_kube-apiserver-operator_03_servicemonitor.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,9 @@ spec:
5555
for: 10m
5656
labels:
5757
severity: warning
58+
- name: cluster-topology
59+
rules:
60+
- expr: sum by(mode) (cluster_controlplane_topology)
61+
record: cluster:controlplane_topology:info
62+
- expr: sum by(mode) (cluster_infrastructure_topology)
63+
record: cluster:infrastructure_topology:info

0 commit comments

Comments
 (0)