From ab7863a65423a6aa47889ec69f802d29dc1a7d93 Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Wed, 7 Aug 2024 09:42:46 +0200 Subject: [PATCH] docs: mention `__sample_limit__` in sd_configs Follow-up after https://github.com/VictoriaMetrics/VictoriaMetrics/commit/994796367bd8469100f8a8ec51d67be3711baa6b Signed-off-by: hagen1778 (cherry picked from commit 3a88553315a3f2112c210b5ac7a5b58c5f7b6789) --- docs/sd_configs.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sd_configs.md b/docs/sd_configs.md index 60f2d1db9..5772fb985 100644 --- a/docs/sd_configs.md +++ b/docs/sd_configs.md @@ -1768,6 +1768,9 @@ scrape_configs: # If more than this number of samples are present after metric relabeling # the entire scrape will be treated as failed. # By default, the limit is disabled. + # The sample_limit can be set on a per-target basis by specifying `__sample_limit__` + # label during target relabeling phase. + # See https://docs.victoriametrics.com/vmagent/#relabeling # # sample_limit: