On 11.05.22 00:46, Muhammed Niyazi Alpay wrote:
> 
> The alarm list for the last 24 hours comes, but I want to find the resolved 
> alarms in this list. How can I do that?

I'm not quite sure what you mean by "resolved alarms". In Prometheus,
an alert is essentially a vector element returned by a PromQL
expression. And that element is stored in a time series, named
`ALERTS`. Those time series are accessed by your query.

If an alert resolves, it will simply _not_ return a result
anymore. This "nothingness" cannot be stored, so there is no time
series for resolved alerts. You would need to check for `ALERTS`
series that cease to exist to identify resolved alerts.

-- 
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] [email protected]

-- 
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/Yo5WZtNoGy6J9ZAN%40mail.rabenste.in.

Reply via email to