We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69ed13b commit 4f1869dCopy full SHA for 4f1869d
common/canary.yaml
@@ -0,0 +1,10 @@
1
+# PROMETHEUS RULES
2
+# DO NOT REMOVE line above, used in `pre-commit` hook
3
+
4
+groups:
5
+ # Allows detecting if alerts are being loaded in thanos-rule
6
+ - name: canary
7
+ rules:
8
+ # The alert is dummy, will never trigger
9
+ - alert: NoOpCanary
10
+ expr: vector(0)
common/kustomization.yaml
@@ -5,6 +5,7 @@ configMapGenerator:
- files:
- all.yaml.tmpl=all.yaml.tmpl
- logging.yaml.tmpl=logging.yaml.tmpl
+ - canary.yaml.tmpl
- container.yaml.tmpl
- missing_replicas.yaml.tmpl
11
- namespace_sync.yaml.tmpl
0 commit comments