Skip to content

Commit f9d6026

Browse files
add metrics recording rule
1 parent 572a5ff commit f9d6026

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: monitoring.coreos.com/v1
2+
kind: PrometheusRule
3+
metadata:
4+
name: oadp-operator
5+
spec:
6+
groups:
7+
- name: oadp-operator.rules
8+
rules:
9+
- expr: max without(instance) (velero_restore_total)
10+
record: cluster:velero_restore_total:max
11+
- expr: max without(instance) (velero_backup_total)
12+
record: cluster:velero_backup_total:max

0 commit comments

Comments
 (0)