Slo Threshold Metric
Definition
Threshold-based SLI metric. Raw data from the metric source is compared against objective thresholds (op and value on the objective, not here). Not currently supported — use a ratioMetric instead.
Connection and query details for a metric data source. Only the Prometheus data source is currently supported: provide the query under spec.query. With counter true or omitted, a good, bad or total query must be a bare PromQL vector selector (e.g. http_requests_total{status="500"}), because Dash0 wraps it in sum(increase(...[5m])). With counter false, these queries accept any PromQL expression that evaluates to an instant vector, including histogram_count(increase(...[5m])). Raw queries also accept instant-vector expressions. Dash0 wraps counter-false and raw queries only in sum(...).
Used by 1
These schemas and endpoints reference this type directly.