Hello, you can use offset to go back in time given you have enabled data retention for at least one week Exp: rate(http_requests_total[5m] offset 1w) (change it accordingly to your metrics)
On Mon, Jul 6, 2020 at 9:18 AM Jack Chew <[email protected]> wrote: > Hey guys, > > > How i check up == 0 in 1week accourd by instacne. > > > 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/6127ffce-02ad-48ed-b70e-b5d27daf1647o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/6127ffce-02ad-48ed-b70e-b5d27daf1647o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CALnV8WjgscxSMFPZ2bJcpJhrg6nEZm7eB4mOpoiQbXK06cWF4w%40mail.gmail.com.

