mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs/vmagent.md: clarify -promscrape.suppressDuplicateScrapeTargetErrors
command-line flag usage
This commit is contained in:
parent
12d2cf3a7a
commit
6105d61d11
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue