Slo Metric Source
Definition
Connection and query details for a metric data source. Only the Prometheus data source is currently supported: provide spec.query as a bare PromQL vector selector (e.g. http_requests_total{status="500"}) — function calls and aggregations are not accepted.
Reference to an existing DataSource object by name. Not currently supported — provide an inline spec.query instead. Requests that set metricSourceRef are rejected with a 400.
Predefined data source type. Only 'Prometheus' is currently supported (the default when omitted); other types are rejected with a 400.
Data-source-specific query parameters. For Prometheus this is { query: "<bare PromQL vector selector>" }.
Used by 2
These schemas and endpoints reference this type directly.