prometheus operator v0.71.2
ScrapeConfig.spec.consulSDConfigs.tlsConfig.ca.configMap.spec.kubernetesSDConfigs.attachMetadata
Optional metadata to attach to discovered targets. It requires Prometheus >= v2.35.0 for `pod` role and Prometheus >= v2.37.0 for `endpoints` and `endpointslice` roles.
| Field / Type | Description |
|---|---|
node | Attaches node metadata to discovered targets. When set to true, Prometheus must have the `get` permission on the `Nodes` objects. Only valid for Pod, Endpoint and Endpointslice roles. |