It's not a table, it's a time-series, so you can ask the question "what was 
there a few minutes ago, and is not there now?"

For example `ALERTS offset 5m unless ALERTS`

On Wednesday, 1 January 2025 at 22:15:40 UTC [email protected] wrote:

> The ALERTS table doesn't show alerts in a resolved state.  They simply 
> disappear from the list.  I realize this is sorta how it works (alerts just 
> disappear)... but alertmanager sends resolved alerts so clearly it's doing 
> the job of noticing an alert is gone, and I was hoping it exposes this in 
> the API somewhere.
>
> On Wednesday, January 1, 2025 at 11:13:10 AM UTC-8 Bryan Boreham wrote:
>
>> You could query the ALERTS time-series.  
>>
>> On Wednesday, 1 January 2025 at 19:11:18 UTC [email protected] wrote:
>>
>>> Is there any API call that can provide information on resolved alerts?  
>>> I assumed `api/v2/status` would display resolved alerts for some time 
>>> period afterwards but that doesn't seem to be the case.
>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/prometheus-users/dbd44448-d6f3-4b91-8e25-317a524febdfn%40googlegroups.com.

Reply via email to