From 5b10fa87b2224d027f8e9c9014b56b1c1da23a51 Mon Sep 17 00:00:00 2001 From: Roman Khavronenko Date: Thu, 6 Oct 2022 14:03:45 +0200 Subject: [PATCH] vmalert: fix misleading line regarding multitenancy (#3206) Signed-off-by: hagen1778 Signed-off-by: hagen1778 --- app/vmalert/README.md | 5 ++--- docs/vmalert.md | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/vmalert/README.md b/app/vmalert/README.md index 9402dfa43..07826377c 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -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`. diff --git a/docs/vmalert.md b/docs/vmalert.md index 40a3be06e..029d03982 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -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`.