mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 01:47:17 +08:00
Take severity value from the rule
This commit is contained in:
parent
80b1cb8fe2
commit
fa4b2c55ba
1 changed files with 1 additions and 1 deletions
2
rules.md
2
rules.md
|
|
@ -84,7 +84,7 @@ groups:
|
||||||
expr: {{ rule.query }}
|
expr: {{ rule.query }}
|
||||||
for: 5m
|
for: 5m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: {{ rule.severity }}
|
||||||
annotations:
|
annotations:
|
||||||
summary: "{{ rule.name }} (instance {% raw %}{{ $labels.instance }}{% endraw %})"
|
summary: "{{ rule.name }} (instance {% raw %}{{ $labels.instance }}{% endraw %})"
|
||||||
description: "{{ rule.description }}\n VALUE = {% raw %}{{ $value }}{% endraw %}\n LABELS: {% raw %}{{ $labels }}{% endraw %}"
|
description: "{{ rule.description }}\n VALUE = {% raw %}{{ $value }}{% endraw %}\n LABELS: {% raw %}{{ $labels }}{% endraw %}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue