Skip to content

Commit

Permalink
vmalert: fix misleading line regarding multitenancy (VictoriaMetrics#…
Browse files Browse the repository at this point in the history
…3206)

Signed-off-by: hagen1778 <roman@victoriametrics.com>

Signed-off-by: hagen1778 <roman@victoriametrics.com>
  • Loading branch information
hagen1778 authored Oct 6, 2022
1 parent 8d7910a commit 5b10fa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions app/vmalert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,8 @@ groups:
```

The results of alerting and recording rules contain `vm_account_id` and `vm_project_id` labels
if `-clusterMode` is enabled. These labels can be used during [templating](https://docs.victoriametrics.com/vmalert.html#templating).
The results of alerting and recording rules with these labels can be stored to the corresponding tenants at VictoriaMetrics cluster
via [multitenant endpoint](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#multitenancy-via-labels).
if `-clusterMode` is enabled. These labels can be used during [templating](https://docs.victoriametrics.com/vmalert.html#templating),
and help to identify to which account or project the triggered alert or produced recording belongs.

If `-clusterMode` is enabled, then `-datasource.url`, `-remoteRead.url` and `-remoteWrite.url` must
contain only the hostname without tenant id. For example: `-datasource.url=http://vmselect:8481`.
Expand Down
5 changes: 2 additions & 3 deletions docs/vmalert.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,8 @@ groups:
```

The results of alerting and recording rules contain `vm_account_id` and `vm_project_id` labels
if `-clusterMode` is enabled. These labels can be used during [templating](https://docs.victoriametrics.com/vmalert.html#templating).
The results of alerting and recording rules with these labels can be stored to the corresponding tenants at VictoriaMetrics cluster
via [multitenant endpoint](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#multitenancy-via-labels).
if `-clusterMode` is enabled. These labels can be used during [templating](https://docs.victoriametrics.com/vmalert.html#templating),
and help to identify to which account or project the triggered alert or produced recording belongs.

If `-clusterMode` is enabled, then `-datasource.url`, `-remoteRead.url` and `-remoteWrite.url` must
contain only the hostname without tenant id. For example: `-datasource.url=http://vmselect:8481`.
Expand Down

0 comments on commit 5b10fa8

Please sign in to comment.