From 35b8ffaa1705eeb2832684733da1f579907ab1d4 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 8 Oct 2020 19:23:58 +0300 Subject: [PATCH] docs/vmagent.md: clarify `-promscrape.suppressDuplicateScrapeTargetErrors` command-line flag usage --- app/vmagent/README.md | 4 ++-- docs/vmagent.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/vmagent/README.md b/app/vmagent/README.md index d62b7cd22..4d8b03f06 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -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. * 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 - errors, then see available options below: + or they use init container. These errors can be either fixed or suppressed with `-promscrape.suppressDuplicateScrapeTargetErrors` command-line flag. + 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: ```yml diff --git a/docs/vmagent.md b/docs/vmagent.md index d62b7cd22..4d8b03f06 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -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. * 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 - errors, then see available options below: + or they use init container. These errors can be either fixed or suppressed with `-promscrape.suppressDuplicateScrapeTargetErrors` command-line flag. + 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: ```yml