From 3d83f3347d3712d2bf59561418182e8c44b52121 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sun, 21 Jan 2024 13:25:49 +0200 Subject: [PATCH] docs/sd_configs.md: mention -promscrape.kubernetes.attachNodeMetadataAll flag in the description for attach_metadata section Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4640 --- docs/sd_configs.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sd_configs.md b/docs/sd_configs.md index 6b4a2c2ce..cd6001c7f 100644 --- a/docs/sd_configs.md +++ b/docs/sd_configs.md @@ -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: