mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 01:47:17 +08:00
fix(template): replace ":" by "=" into rule template
This commit is contained in:
parent
e090fd1569
commit
f2f012a2fb
1 changed files with 1 additions and 1 deletions
2
rules.md
2
rules.md
|
|
@ -88,7 +88,7 @@
|
||||||
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 | replace: '"', '\"' }}\n VALUE = {% raw %}{{ $value }}{% endraw %}\n LABELS: {% raw %}{{ $labels }}{% endraw %}"
|
description: "{{ rule.description | replace: '"', '\"' }}\n VALUE = {% raw %}{{ $value }}{% endraw %}\n LABELS = {% raw %}{{ $labels }}{% endraw %}"
|
||||||
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue