mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
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 <roman@victoriametrics.com>
This commit is contained in:
parent
dbb4899d71
commit
fa9de9b45c
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue