You can use a subquery <https://prometheus.io/docs/prometheus/latest/querying/basics/#subquery> to make a range vector:
http_requests_total[7d:24h] @ 1643029200 Or using the HTTP API, you can make a range query <https://prometheus.io/docs/prometheus/latest/querying/api/#range-queries> with your chosen start and end times and step. On Monday, 24 January 2022 at 11:39:54 UTC [email protected] wrote: > Hi, > I have a gauge and I want to find out the values of it at 13:00 for last > number of days. > I've found @ modifier ' http_requests_total @ 1643029200' and it would > seem to provide the desired result but it only works for specific time of a > single day. I am looking for something more dynamic. Is there some other > way to do this? > > Thanks > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/7c48a84f-1edb-4726-8f83-1637be73f271n%40googlegroups.com.

