mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
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:
parent
eea2e476cb
commit
a92da26108
@ -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.
|
`vm_license_expires_in_seconds` is the amount of seconds until the license expires.
|
||||||
|
|
||||||
Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
|
Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
|
||||||
|
{% raw %}
|
||||||
```yaml
|
```yaml
|
||||||
groups:
|
groups:
|
||||||
- name: vm-license
|
- name: vm-license
|
||||||
@ -281,3 +282,4 @@ groups:
|
|||||||
description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}.
|
description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}.
|
||||||
Please make sure to update the license before it expires."
|
Please make sure to update the license before it expires."
|
||||||
```
|
```
|
||||||
|
{% endraw %}
|
||||||
|
@ -206,6 +206,7 @@ vm_license_expires_in_seconds 4.886608e+06
|
|||||||
```
|
```
|
||||||
|
|
||||||
Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
|
Example alerts for [vmalert](https://docs.victoriametrics.com/vmalert.html):
|
||||||
|
{% raw %}
|
||||||
```yaml
|
```yaml
|
||||||
groups:
|
groups:
|
||||||
- name: vm-license
|
- name: vm-license
|
||||||
@ -229,3 +230,4 @@ groups:
|
|||||||
description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}.
|
description: "{{ $labels.instance }} of job {{ $labels.job }} license expires in {{ $value | humanizeDuration }}.
|
||||||
Please make sure to update the license before it expires."
|
Please make sure to update the license before it expires."
|
||||||
```
|
```
|
||||||
|
{% endraw %}
|
||||||
|
Loading…
Reference in New Issue
Block a user