On Sun, 19 Apr 2020 at 09:33, Yagyansh S. Kumar <[email protected]>
wrote:

> Hi. I want to get the age of my alerts, and have been playing around with
> ALERTS_FOR_STATE for the same. After converting the Epoch Time to Normal
> Date-Time, the age that I am getting for the alerts seem to be incorrect
> for some of the alerts. Also, I can see a lot of my alerts are having the
> same age, which is not the case. So, what criteria is being used to get
> that Epoch Time?
>

That metric is an internal implementation detail of how we recover the for
state on restart, so you shouldn't really depend on it one way or the other.

Brian


>
> Can someone help understanding this discrepancy?
>
> Thanks in advance!
>
> --
> 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/15ad2df4-91f2-4fe6-b33b-1dae437c780b%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/15ad2df4-91f2-4fe6-b33b-1dae437c780b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Brian Brazil
www.robustperception.io

-- 
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/CAHJKeLrp3VpjQxE1z6C7bgWDTx6davTn9-hib1eHBtPteqU9%2BA%40mail.gmail.com.

Reply via email to