-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alerts triggered status is not persistent #679
Labels
area/alerting
Related to alerting
area/storage
Related to storage
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
TwiN
added
help wanted
Extra attention is needed
good first issue
Good for newcomers
area/alerting
Related to alerting
area/storage
Related to storage
labels
Feb 17, 2024
Yes, you're right. It's also something I've been wanting to take care of for a while. |
2 tasks
I would also add something like UUID of the sent alert and keep the same UUID when the alert gets resolved or sending is repeated by any reason. That UUID should be available in the alert templating. |
PR is up @ #764 but further testing is necessary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/alerting
Related to alerting
area/storage
Related to storage
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
The
triggered
status of a monitor is only momentary. After a restart of gatus the information is gone.Such restarts are daily business in cloud environments.
What do you see?
No response
What do you expect to see?
Gatus should only send one alert for a failing monitor.
List the steps that must be taken to reproduce this issue
[watchdog][handleAlertsToTrigger] Sending matrix alert because alert for endpoint=my-endpoint='' has been TRIGGERED
)Version
No response
Additional information
Fix could be to use the events from the database for checking if an alert was already sended.
The text was updated successfully, but these errors were encountered: