fix(template): replace ":" by "=" into rule template

This commit is contained in:
Samuel Berthe 2021-05-01 22:05:12 +02:00
parent e090fd1569
commit f2f012a2fb
No known key found for this signature in database
GPG key ID: 64863511FFBD0E3C

View file

@ -88,7 +88,7 @@
severity: {{ rule.severity }}
annotations:
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 %}