Your per-route SLI query fails with `found duplicate series for the match group {route="/api/checkout"} on the right hand-side of the operation`.
IntermediateTroubleshootingPrometheus SLIs & Recording Rules
Answer
Likely causes → Division with one-to-one matching where the right side has several series per route (for example still split by instance or code) because it was not aggregated to the same labels as the left side.
Diagnose → Run each side alone and compare the label sets:
sum by (route) (rate(http_requests_total{job="checkout",code=~"5.."}[5m]))
rate(http_requests_total{job="checkout"}[5m])
Fix → Aggregate both sides to identical labels:
sum by (route) (rate(http_requests_total{job="checkout",code=~"5.."}[5m]))
/
sum by (route) (rate(http_requests_total{job="checkout"}[5m]))
Prevent → In recording rules always use explicit sum by (...) on numerator and denominator with the same label list.
More on Prometheus SLIs & Recording Rules
You applied a `PrometheusRule` for your SLO, but `slo:sli_error:ratio_rate5m` returns nothing in Prometheus.Beginner`promtool check rules` fails with `could not parse expression: 1:72: parse error: unexpected right parenthesis ')'`.BeginnerThe availability SLI panel shows `NaN` every night between 02:00 and 05:00.BeginnerPrometheus logs `vector contains metrics with the same labelset after applying rule labels` for your SLI recording rule.AdvancedYour latency SLI using `le="0.3"` returns an empty result, but the histogram exists.IntermediateThe SLI ratio is above 1.0 (or the latency "good" ratio is 1.07).Intermediate