From 7ee85b0d114fe7d9062f51e17b79b5f081e6d656 Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 15 Nov 2023 22:03:44 +0000 Subject: [PATCH] update wiki pages --- vmagent.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmagent.md b/vmagent.md index 717e213..45f7db7 100644 --- a/vmagent.md +++ b/vmagent.md @@ -188,8 +188,8 @@ to the same second-level `vmagent` instance, so they are aggregated properly. If `-remoteWrite.shardByURL` command-line flag is set, then all the metric labels are used for even sharding among remote storage systems specified in `-remoteWrite.url`. Sometimes it may be needed to use only a particular set of labels for sharding. For example, it may be needed to route all the metrics with the same `instance` label -to the same `-remoteWrite.url`. In this case you can specify comma-separated list of these labels in the `-remoteWrite.shardByURLLabels` -command-line flag. For example, `-remoteWrite.shardByURLLabels=instance,__name__` would shard metrics with the same name and `instance` +to the same `-remoteWrite.url`. In this case you can specify comma-separated list of these labels in the `-remoteWrite.shardByURL.labels` +command-line flag. For example, `-remoteWrite.shardByURL.labels=instance,__name__` would shard metrics with the same name and `instance` label to the same `-remoteWrite.url`. See also [how to scrape big number of targets](#scraping-big-number-of-targets).