mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 15:16:42 +00:00
docs/vmalert.md: mention that type
option can be set at group level additionally to rule level
This commit is contained in:
parent
8dc6095749
commit
a2344ef4b7
2 changed files with 10 additions and 2 deletions
|
@ -82,6 +82,10 @@ name: <string>
|
||||||
# up round execution speed.
|
# up round execution speed.
|
||||||
[ concurrency: <integer> | default = 1 ]
|
[ concurrency: <integer> | default = 1 ]
|
||||||
|
|
||||||
|
# Optional type for expressions inside the rules. Supported values: "graphite" and "prometheus".
|
||||||
|
# By default "prometheus" rule type is used.
|
||||||
|
[ type: <string> ]
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
[ - <rule> ... ]
|
[ - <rule> ... ]
|
||||||
```
|
```
|
||||||
|
@ -182,7 +186,7 @@ Used as alert source in AlertManager.
|
||||||
### Graphite
|
### Graphite
|
||||||
|
|
||||||
vmalert sends requests to `<-datasource.url>/render?format=json` during evaluation of alerting and recording rules
|
vmalert sends requests to `<-datasource.url>/render?format=json` during evaluation of alerting and recording rules
|
||||||
if the corresponding rule contains `type: "graphite"` config option. It is expected that the `<-datasource.url>/render`
|
if the corresponding group or rule contains `type: "graphite"` config option. It is expected that the `<-datasource.url>/render`
|
||||||
implements [Graphite Render API](https://graphite.readthedocs.io/en/stable/render_api.html) for `format=json`.
|
implements [Graphite Render API](https://graphite.readthedocs.io/en/stable/render_api.html) for `format=json`.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,10 @@ name: <string>
|
||||||
# up round execution speed.
|
# up round execution speed.
|
||||||
[ concurrency: <integer> | default = 1 ]
|
[ concurrency: <integer> | default = 1 ]
|
||||||
|
|
||||||
|
# Optional type for expressions inside the rules. Supported values: "graphite" and "prometheus".
|
||||||
|
# By default "prometheus" rule type is used.
|
||||||
|
[ type: <string> ]
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
[ - <rule> ... ]
|
[ - <rule> ... ]
|
||||||
```
|
```
|
||||||
|
@ -182,7 +186,7 @@ Used as alert source in AlertManager.
|
||||||
### Graphite
|
### Graphite
|
||||||
|
|
||||||
vmalert sends requests to `<-datasource.url>/render?format=json` during evaluation of alerting and recording rules
|
vmalert sends requests to `<-datasource.url>/render?format=json` during evaluation of alerting and recording rules
|
||||||
if the corresponding rule contains `type: "graphite"` config option. It is expected that the `<-datasource.url>/render`
|
if the corresponding group or rule contains `type: "graphite"` config option. It is expected that the `<-datasource.url>/render`
|
||||||
implements [Graphite Render API](https://graphite.readthedocs.io/en/stable/render_api.html) for `format=json`.
|
implements [Graphite Render API](https://graphite.readthedocs.io/en/stable/render_api.html) for `format=json`.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue