Your latency SLI using `le="0.3"` returns an empty result, but the histogram exists.
IntermediateTroubleshootingPrometheus SLIs & Recording Rules
Answer
Likely causes → 0.3 seconds is not a bucket boundary. The histogram may only have 0.25 and 0.5 buckets, or the le value is formatted differently ("0.30", or "1.0" vs "1" for whole numbers in some client libraries).
Diagnose →
count by (le) (http_request_duration_seconds_bucket{job="checkout"})
Fix → Either add a 0.3 bucket in the instrumentation and redeploy, or align the SLO threshold with an existing bucket (for example 250 ms). Match the exact le string.
Prevent → Define histogram buckets together with SLO thresholds; document the bucket layout in the SLO document. Native histograms in recent Prometheus versions remove most of this pain.
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.AdvancedThe SLI ratio is above 1.0 (or the latency "good" ratio is 1.07).Intermediate