docs/sd_configs.md: mention -promscrape.kubernetes.attachNodeMetadataAll flag in the description for attach_metadata section

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4640
This commit is contained in:
Aliaksandr Valialkin 2024-01-21 13:25:49 +02:00
parent be5faef552
commit 6d91d10cbd
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB

View File

@ -961,6 +961,10 @@ scrape_configs:
# attach_metadata is an optional metadata to attach to discovered targets.
# When `node` is set to true, then node metadata is attached to discovered targets.
# Valid for roles: pod, endpoints, endpointslice.
#
# Set `-promscrape.kubernetes.attachNodeMetadataAll` command-line flag
# for attaching `node` metadata for all the discovered targets.
#
# attach_metadata:
# node: <boolean>