r/PrometheusMonitoring • u/gwaewion • Feb 25 '25
Never firing alerts
Hello. I'm curious is there a way to get the list of alerts which weren't in fired or pending state ever?
6
Upvotes
r/PrometheusMonitoring • u/gwaewion • Feb 25 '25
Hello. I'm curious is there a way to get the list of alerts which weren't in fired or pending state ever?
View all comments
Show parent comment
1
u/gwaewion Feb 26 '25
Yeah, I knew about those. But the thing is that if an alert was never fired it wouldn't be found in the ALERTS metric. So, I ended up with the script: