docs: mention __sample_limit__ in sd_configs

Follow-up after 994796367b

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2024-08-07 09:42:46 +02:00
parent 994796367b
commit 3a88553315
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -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: <int>