mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 00:47:18 +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 }}
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
severity: {{ rule.severity }}
|
||||
annotations:
|
||||
summary: "{{ rule.name }} (instance {% raw %}{{ $labels.instance }}{% endraw %})"
|
||||
description: "{{ rule.description }}\n VALUE = {% raw %}{{ $value }}{% endraw %}\n LABELS: {% raw %}{{ $labels }}{% endraw %}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue