docs/vmagent.md: clarify -promscrape.suppressDuplicateScrapeTargetErrors command-line flag usage

This commit is contained in:
Aliaksandr Valialkin 2020-10-08 19:23:58 +03:00
parent 85a1ab3edd
commit 35b8ffaa17
2 changed files with 4 additions and 4 deletions

View file

@ -239,8 +239,8 @@ before applying relabeling. This information may be useful for debugging target
Pass `-remoteWrite.showURL` command-line flag when starting `vmagent` in order to see all the valid urls. Pass `-remoteWrite.showURL` command-line flag when starting `vmagent` in order to see all the valid urls.
* If you see `skipping duplicate scrape target with identical labels` errors when scraping Kubernetes pods, then it is likely these pods listen multiple ports * If you see `skipping duplicate scrape target with identical labels` errors when scraping Kubernetes pods, then it is likely these pods listen multiple ports
or they use init container. These errors can be either suppressed with `-promscrape.suppressDuplicateScrapeTargetErrors` or fixed. If you prefer fixing these or they use init container. These errors can be either fixed or suppressed with `-promscrape.suppressDuplicateScrapeTargetErrors` command-line flag.
errors, then see available options below: See available options below if you prefer fixing the root cause of the error:
The following `relabel_configs` section may help determining `__meta_*` labels resulting in duplicate targets: The following `relabel_configs` section may help determining `__meta_*` labels resulting in duplicate targets:
```yml ```yml

View file

@ -239,8 +239,8 @@ before applying relabeling. This information may be useful for debugging target
Pass `-remoteWrite.showURL` command-line flag when starting `vmagent` in order to see all the valid urls. Pass `-remoteWrite.showURL` command-line flag when starting `vmagent` in order to see all the valid urls.
* If you see `skipping duplicate scrape target with identical labels` errors when scraping Kubernetes pods, then it is likely these pods listen multiple ports * If you see `skipping duplicate scrape target with identical labels` errors when scraping Kubernetes pods, then it is likely these pods listen multiple ports
or they use init container. These errors can be either suppressed with `-promscrape.suppressDuplicateScrapeTargetErrors` or fixed. If you prefer fixing these or they use init container. These errors can be either fixed or suppressed with `-promscrape.suppressDuplicateScrapeTargetErrors` command-line flag.
errors, then see available options below: See available options below if you prefer fixing the root cause of the error:
The following `relabel_configs` section may help determining `__meta_*` labels resulting in duplicate targets: The following `relabel_configs` section may help determining `__meta_*` labels resulting in duplicate targets:
```yml ```yml