Write PromQL for Grafana dashboard panels. Use when creating Prometheus-backed dashboard queries for time series, stat, gauge, bar chart, histogram, heatmap, or table panels, especially for latency, throughput, error rate, saturation, utilization, top-N, and SLO-style views.
Write PromQL that is correct for Grafana panels, not just valid in Prometheus.
Type (Range, Instant, Both) and references/dashboard-query-style.md for Format (, , ).Time seriesTableHeatmap$__rate_interval -> references/promql-counters-rates.mdType/Format and panel-oriented PromQL shapes -> references/dashboard-query-style.mdType, Format, legend, unit, variable matcher assumptions, or histogram type.Type, query Format, legends, and variable matchersRange, Instant, or Bothrate, irate, increase, reset-safe ordering, and $__rate_intervalhistogram_fraction() caveatson, ignoring, group_left, group_right, and dropped unmatched seriesReturn:
Type and Format when they matter$__rate_interval=~ for the Grafana variable"