prometheus operator v0.93.1
ScrapeConfig.spec.httpSDConfigs.oauth2.clientId.configMap.spec.kubernetesSDConfigs.attachMetadata
attachMetadata defines the metadata to attach to discovered targets. It requires Prometheus >= v2.35.0 when using the `Pod` role and Prometheus >= v2.37.0 for `Endpoints` and `Endpointslice` roles.
| Field / Type | Description |
|---|---|
node | 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. |