Skip to content

Commit 983f086

Browse files
committed
add cluster:controlplane_topology:info recording rule
This very simple recording rule is used as a telemetry signal. This is best done via a recording rule so that non-relevant labels can be aggregated and thus reduce the cardinality in our telemetry storage. Signed-off-by: Jan Fajerski <[email protected]>
1 parent 4dce19d commit 983f086

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

manifests/0000_90_kube-apiserver-operator_03_servicemonitor.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ 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

0 commit comments

Comments
 (0)