prometheus operator v0.93.1
ServiceMonitor.spec.serviceDiscoveryRole
serviceDiscoveryRole defines the service discovery role used to discover targets. If set, the value should be either "Endpoints" or "EndpointSlice". Otherwise it defaults to the value defined in the Prometheus/PrometheusAgent resource.
| Field / Type | Description |
|---|---|
ServiceMonitor.spec.serviceDiscoveryRole | serviceDiscoveryRole defines the service discovery role used to discover targets. If set, the value should be either "Endpoints" or "EndpointSlice". Otherwise it defaults to the value defined in the Prometheus/PrometheusAgent resource.
|