Thanos Rule Query High D N S Failures warning
Thanos Rule {{$labels.job}} has {{$value | humanize}}% of failing DNS queries for query endpoints.
>>>
(sum by (job, instance) (
rate
(
{job=~".*thanos-rule.*"}[5m])) / sum by (job, instance) (
rate
(
{job=~".*thanos-rule.*"}[5m])) * 100 > 1)
The rule calculates, per Thanos‑rule job/instance, the percentage of DNS query failures by dividing the 5‑minute rate of thanos_rule_query_apis_dns_failures_total by the 5‑minute rate of thanos_rule_query_apis_dns_lookups_total and multiplying by 100; it fires when this percentage exceeds 1 %.
Get Alert✕
Download
Copy to Clipboard