chore(configuration.md): adjust kubernetes DS config

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
This commit is contained in:
machine424 2025-07-17 09:55:10 +02:00
parent a9f6fdd910
commit b74c3ce153
No known key found for this signature in database
GPG Key ID: A4B001A4FDEE017D

View File

@ -1965,7 +1965,7 @@ namespaces:
# Optional metadata to attach to discovered targets. If omitted, no additional metadata is attached. # Optional metadata to attach to discovered targets. If omitted, no additional metadata is attached.
attach_metadata: attach_metadata:
# Attaches node metadata to discovered targets. Valid for roles: pod, endpoints, endpointslice. # Attaches node metadata to discovered targets. Valid for roles: pod, endpoints, endpointslice.
# When set to true, Prometheus must have permissions to get Nodes. # When set to true, Prometheus must have permissions to list/watch Nodes.
[ node: <boolean> | default = false ] [ node: <boolean> | default = false ]
# Attaches namespace metadata to discovered targets. Valid for roles: pod, endpoints, endpointslice, service, ingress. # Attaches namespace metadata to discovered targets. Valid for roles: pod, endpoints, endpointslice, service, ingress.
# When set to true, Prometheus must have permissions to list/watch Namespaces. # When set to true, Prometheus must have permissions to list/watch Namespaces.