Thanos Query Range Latency High critical
Thanos Query {{$labels.job}} has a 99th percentile latency of {{$value}} seconds for range queries.
>>>
(
histogram_quantile
(0.99, sum by (job, le) (
rate
(
{job=~".*thanos-query.*", handler="query_range"}[5m]))) > 90 and sum by (job) (
rate
(
{job=~".*thanos-query.*", handler="query_range"}[5m])) > 0)
The rule computes the 99th‑percentile latency of Thanos query_range HTTP requests over the last 5 minutes using histogram_quantile. It fires when that latency exceeds 90 seconds and at least one query_range request was observed in the same window.
Get Alert✕
Download
Copy to Clipboard