vmalert: fix misleading line regarding multitenancy (#3206)

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

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2022-10-06 14:03:45 +02:00 committed by GitHub
parent 8d7910a463
commit 5b10fa87b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View file

@ -332,9 +332,8 @@ groups:
``` ```
The results of alerting and recording rules contain `vm_account_id` and `vm_project_id` labels 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). 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 and help to identify to which account or project the triggered alert or produced recording belongs.
via [multitenant endpoint](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#multitenancy-via-labels).
If `-clusterMode` is enabled, then `-datasource.url`, `-remoteRead.url` and `-remoteWrite.url` must 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`. contain only the hostname without tenant id. For example: `-datasource.url=http://vmselect:8481`.

View file

@ -336,9 +336,8 @@ groups:
``` ```
The results of alerting and recording rules contain `vm_account_id` and `vm_project_id` labels 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). 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 and help to identify to which account or project the triggered alert or produced recording belongs.
via [multitenant endpoint](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#multitenancy-via-labels).
If `-clusterMode` is enabled, then `-datasource.url`, `-remoteRead.url` and `-remoteWrite.url` must 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`. contain only the hostname without tenant id. For example: `-datasource.url=http://vmselect:8481`.