mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 17:32:05 +01:00
add vlogs type of rule in example (#7548)
This commit is contained in:
parent
4b74baf696
commit
37f1c76e71
@ -104,6 +104,8 @@ services:
|
|||||||
- ./rules/alerts-health.yml:/etc/alerts/alerts-health.yml
|
- ./rules/alerts-health.yml:/etc/alerts/alerts-health.yml
|
||||||
- ./rules/alerts-vmagent.yml:/etc/alerts/alerts-vmagent.yml
|
- ./rules/alerts-vmagent.yml:/etc/alerts/alerts-vmagent.yml
|
||||||
- ./rules/alerts-vmalert.yml:/etc/alerts/alerts-vmalert.yml
|
- ./rules/alerts-vmalert.yml:/etc/alerts/alerts-vmalert.yml
|
||||||
|
# vlogs rule
|
||||||
|
- ./rules/vlogs-example-alerts.yml:/etc/alerts/vlogs-example-alerts.yml
|
||||||
command:
|
command:
|
||||||
- "--datasource.url=http://vmauth:8427/"
|
- "--datasource.url=http://vmauth:8427/"
|
||||||
- "--remoteRead.url=http://victoriametrics:8428/"
|
- "--remoteRead.url=http://victoriametrics:8428/"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
groups:
|
groups:
|
||||||
- name: TestGroup
|
- name: log-rules
|
||||||
type: vlogs
|
type: vlogs
|
||||||
interval: 1m
|
interval: 1m
|
||||||
rules:
|
rules:
|
||||||
|
Loading…
Reference in New Issue
Block a user