From d8266777d646b15e2eca5b845c2e9465509cace2 Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Thu, 22 Aug 2024 11:58:27 +0200 Subject: [PATCH] docs: fix ordering in vmagent docs Looks like auto-numeration doesn't work if item in the list takes more than one line. Signed-off-by: hagen1778 (cherry picked from commit fa9de9b45c966debe8b69ad0ea4fe587236c3a6d) --- docs/vmagent.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/vmagent.md b/docs/vmagent.md index 30b1b452cb..35f1b6630b 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -227,13 +227,13 @@ To route metrics `env=dev` to destination `dev` and metrics with `env=prod` to d source_labels: [env] regex: "dev" ``` -1. Create relabeling config file `relabelProd.yml` to drop all metrics that don't have label `env=prod`: +2. Create relabeling config file `relabelProd.yml` to drop all metrics that don't have label `env=prod`: ```yaml - action: keep source_labels: [env] regex: "prod" ``` -1. Configure `vmagent` with 2 `-remoteWrite.url` flags pointing to destinations `dev` and `prod` with corresponding +3. Configure `vmagent` with 2 `-remoteWrite.url` flags pointing to destinations `dev` and `prod` with corresponding `-remoteWrite.urlRelabelConfig` configs: ```sh ./vmagent \