Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to check if an alert is inactive? #2880
Comments
This comment has been minimized.
This comment has been minimized.
|
Usage questions are best asked at https://groups.google.com/forum/#!forum/prometheus-users |
brian-brazil
closed this
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
zxwing commentedJun 27, 2017
The document says:
but I am confused by what I observed. After an alert turns to inactive (the Alerts page becomes green and shows 0 active), querying ALERTS metric still returns data with state pending/firing, value 0/1 for a while, and finally returns no data which means the alert becomes inactive.
What is the reliable programming way to judge if an alert is inactive?