Prometheus Query with Dates

12 views
Skip to first unread message

arnav...@gmail.com

unread,
Dec 17, 2020, 1:31:08 PM12/17/20
to Prometheus Users

Hi,

Is it possible to query Prometheus with Dates?

For example: using start date and end date to query the value of a metric between those dates.

Thanks,

 Arnav

L.walid (PowerM)

unread,
Dec 17, 2020, 1:52:58 PM12/17/20
to arnav...@gmail.com, Prometheus Users
Hi,

Did you try Range vectors to have the results you are looking for ?

https://timber.io/blog/promql-for-humans/

Sent from my iPhone

On Dec 17, 2020, at 7:31 PM, arnav...@gmail.com <arnav...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5b38a0e6-69c8-40c4-982a-5677306a57e6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages