The SLI ratio is above 1.0 (or the latency "good" ratio is 1.07).
IntermediateTroubleshootingPrometheus SLIs & Recording Rules
Answer
Likely causes → Numerator and denominator select different series: the good-events query includes a job, route, or instance that the total does not, or they come from different metrics with different label filters.
Diagnose → Compare label selectors character by character, and check counts:
count(http_request_duration_seconds_bucket{le="0.3"})
count(http_request_duration_seconds_count)
Fix → Use identical selectors on both sides, and for latency use _bucket{le=X} and _count of the same histogram.
Prevent → Generate rules from one SLO spec (Sloth/Pyrra) and add a promtool unit test asserting the ratio stays within 0 to 1.
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.BeginnerYour per-route SLI query fails with `found duplicate series for the match group {route="/api/checkout"} on the right hand-side of the operation`.IntermediatePrometheus 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.Intermediate