mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
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:
parent
be5faef552
commit
6d91d10cbd
@ -961,6 +961,10 @@ scrape_configs:
|
|||||||
# attach_metadata is an optional metadata to attach to discovered targets.
|
# 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.
|
# When `node` is set to true, then node metadata is attached to discovered targets.
|
||||||
# Valid for roles: pod, endpoints, endpointslice.
|
# Valid for roles: pod, endpoints, endpointslice.
|
||||||
|
#
|
||||||
|
# Set `-promscrape.kubernetes.attachNodeMetadataAll` command-line flag
|
||||||
|
# for attaching `node` metadata for all the discovered targets.
|
||||||
|
#
|
||||||
# attach_metadata:
|
# attach_metadata:
|
||||||
# node: <boolean>
|
# node: <boolean>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user