View Revisions: Issue #7010

Summary 0007010: Notification can apply to specific monitors
Revision 2025-08-01 12:54 by elong
Description Add a feature for notifications to filter for specific monitors. An email notification might go to one address for CPU, disk, and memory monitors. Another email notification might go to another address for batch error, batch unsent, and unrouted data monitors. Currently, notifications are associated with monitors based on a severity level, matching anything at that level and above, which is less flexible.

Store the list of monitors in the notification's expression field. The screen can make it easy to add to or remove from the list using a similar interface that email addresses use. While this is a less intentional design that means each notification needs to support the filter logic, that logic can be in a reusable place like NotificationUtils, and the design allows compatibility with the existing schema.
Revision 2025-08-01 12:52 by elong
Description Add a feature for notifications to filter for specific monitors. An email notification might go to one address for CPU, disk, and memory monitors. Another email notification might go to another address for batch error, batch unsent, and unrouted data monitors. Currently, notifications are associated with monitors based on a severity level, matching anything at that level and above, which is less flexible.

Store the list of monitors in the notification's expression field. While this is a less intentional design that means each notification needs to support the filter logic, that logic can be in a reusable place like NotificationUtils, and the design allows compatibility with the existing schema.