Re: [prometheus-users] Getting the Age of alerts.

2020-03-20 Thread Julien Pivotto
On 20 Mar 03:22, Yagyansh S. Kumar wrote: > Thanks for the help. But what is the format of this value that we are > getting from ALERTS_FOR_STATE > > ALERTS_FOR_STATE{alertname="OutOfMemoryWarn",cluster="cluster",instance="instance",job="job"severity="WARNING",source="prometheus"} > > *15846986

Re: [prometheus-users] Getting the Age of alerts.

2020-03-20 Thread Yagyansh S. Kumar
Thanks for the help. But what is the format of this value that we are getting from ALERTS_FOR_STATE ALERTS_FOR_STATE{alertname="OutOfMemoryWarn",cluster="cluster",instance="instance",job="job"severity="WARNING",source="prometheus"} *1584698633* What does this value represent. On Wednesday, Ma

Re: [prometheus-users] Getting the Age of alerts.

2020-03-17 Thread Julien Pivotto
On 17 Mar 22:33, Christian Hoffmann wrote: > Hi, > > On 3/17/20 10:33 AM, Yagyansh S. Kumar wrote: > > Hi. I want to extract the age of the alerts(i.e from when the alert is > > Critical or Warning or even Resolved). Is this possible? > > Where are you looking for that? > > Within Prometheus? Yo

Re: [prometheus-users] Getting the Age of alerts.

2020-03-17 Thread Christian Hoffmann
Hi, On 3/17/20 10:33 AM, Yagyansh S. Kumar wrote: > Hi. I want to extract the age of the alerts(i.e from when the alert is > Critical or Warning or even Resolved). Is this possible? Where are you looking for that? Within Prometheus? You could try deriving that from the ALERTS meta metric which g

[prometheus-users] Getting the Age of alerts.

2020-03-17 Thread Yagyansh S. Kumar
Hi. I want to extract the age of the alerts(i.e from when the alert is Critical or Warning or even Resolved). Is this possible? -- 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