docs/enterprise: fix rendering of example alert (#5137)

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
(cherry picked from commit 7183621d84)
This commit is contained in:
Zakhar Bessarab 2023-10-09 18:57:25 +04:00 committed by hagen1778
parent eea2e476cb
commit a92da26108
No known key found for this signature in database
GPG Key ID: 3BF75F3741CA9640
2 changed files with 4 additions and 0 deletions

View File

@ -258,6 +258,7 @@ Please, refer to monitoring section of each component for details on how to scra
`vm_license_expires_in_seconds` is the amount of seconds until the license expires.
Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
{% raw %}
```yaml
groups:
- name: vm-license
@ -281,3 +282,4 @@ groups:
description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}.
Please make sure to update the license before it expires."
```
{% endraw %}

View File

@ -206,6 +206,7 @@ vm_license_expires_in_seconds 4.886608e+06
```
Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
{% raw %}
```yaml
groups:
- name: vm-license
@ -229,3 +230,4 @@ groups:
description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}.
Please make sure to update the license before it expires."
```
{% endraw %}