mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 09:58:16 +08:00
Merge pull request #160 from samber/fix-rule-template-quotes
Fix rule template: removing quotes
This commit is contained in:
commit
46b5c7bb43
1 changed files with 2 additions and 2 deletions
4
rules.md
4
rules.md
|
|
@ -84,8 +84,8 @@
|
||||||
labels:
|
labels:
|
||||||
severity: {{ rule.severity }}
|
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 %}
|
||||||
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue