prometheus operator v0.93.1

PrometheusAgent.spec.serviceDiscoveryRole

serviceDiscoveryRole defines the service discovery role used to discover targets from `ServiceMonitor` objects and Alertmanager endpoints. If set, the value should be either "Endpoints" or "EndpointSlice". If unset, the operator assumes the "Endpoints" role.

1 fields
PrometheusAgent.spec.serviceDiscoveryRole fields and descriptions
Field / TypeDescription
PrometheusAgent.spec.serviceDiscoveryRole
string

serviceDiscoveryRole defines the service discovery role used to discover targets from `ServiceMonitor` objects and Alertmanager endpoints. If set, the value should be either "Endpoints" or "EndpointSlice". If unset, the operator assumes the "Endpoints" role.

  • enum: ["Endpoints","EndpointSlice"]