-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support delayed notifications #166
Comments
Idea: NotificationQueue model, with foreign key to Event. (Potential problem with stateless incidents, they only have start events.)
The queue will only see adds and deletes. On handover to notification sender, checks if incident is closed, if so: deletes from queue immediately.
After a notification is handed over to the notification sender, NotificationStatus is updated and the entry in NotificationQueue is deleted. (In one transaction.) Both done in another process. |
From today's CNaaS-sync-meeting:
|
May also touch on #209. After "pausing" a notification profile, the user may want a digest of what happened. Also, I am not sure how common recurring incidents are (where all attributes are equal except the timestamp), but we may want to collapse these incidents into one, just adding a number and time frame. So instead of
user gets
|
This is relevant as a sub-part of #121 |
Depends on #359 |
Argus needs at minimum two types of delayed notifications (this definitely post-1.0)
It should be possible to configure a subscription that will queue all notifications generated in a timeslot, and send these in bulk, when either
In addition, this type of subscription needs an option to drop notifications related to any incident that was closed/resolved before the notification is actually sent (i.e. the "Tell me everything that went wrong last night while I was sleeping, but only the things that are still issues" function)
The text was updated successfully, but these errors were encountered: