Getting query steps in the Prometheus 3.0 new UI query graph view

24 views
Skip to first unread message

Chris Siebenmann

unread,
Dec 28, 2024, 4:55:15 PM12/28/24
to Prometheus Users, cks.prom...@cs.toronto.edu
Prometheus 3.0 introduces a new modernized UI for Prometheus's web views,
including the ad-hoc query interface (/query). When using the graph view
of the ad-hoc query interface with *_over_time() queries, it's useful
to know the query step interval (so you can plug it into your query as
the manual equivalent of Grafana's $_interval variable). In the old UI,
this was surfaced along with the query execution time over on the right
side. In the new UI, I can't seem to find it, although there is now
an option for the resolution with various settings. Is there a way to
get this query step for the low/medium/high resolutions, or should one
instead set a fixed resolution even for large time periods (a week or
more) and count on the new graph UI to make it work?

Thanks in advance.

- cks
Reply all
Reply to author
Forward
0 new messages