Add target owners and alert notification management.
All checks were successful
PostgreSQL Compatibility Matrix / PG14 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG15 smoke (push) Successful in 7s
PostgreSQL Compatibility Matrix / PG16 smoke (push) Successful in 7s
PostgreSQL Compatibility Matrix / PG17 smoke (push) Successful in 6s
PostgreSQL Compatibility Matrix / PG18 smoke (push) Successful in 6s
All checks were successful
PostgreSQL Compatibility Matrix / PG14 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG15 smoke (push) Successful in 7s
PostgreSQL Compatibility Matrix / PG16 smoke (push) Successful in 7s
PostgreSQL Compatibility Matrix / PG17 smoke (push) Successful in 6s
PostgreSQL Compatibility Matrix / PG18 smoke (push) Successful in 6s
This commit implements the addition of `target_owners` and `alert_notification_events` tables, enabling management of responsible users for targets. Backend and frontend components are updated to allow viewing, assigning, and notifying target owners about critical alerts via email.
This commit is contained in:
@@ -1,3 +1,23 @@
|
||||
from app.models.models import AlertDefinition, AuditLog, EmailNotificationSettings, Metric, QueryStat, Target, User
|
||||
from app.models.models import (
|
||||
AlertDefinition,
|
||||
AlertNotificationEvent,
|
||||
AuditLog,
|
||||
EmailNotificationSettings,
|
||||
Metric,
|
||||
QueryStat,
|
||||
Target,
|
||||
TargetOwner,
|
||||
User,
|
||||
)
|
||||
|
||||
__all__ = ["User", "Target", "Metric", "QueryStat", "AuditLog", "AlertDefinition", "EmailNotificationSettings"]
|
||||
__all__ = [
|
||||
"User",
|
||||
"Target",
|
||||
"Metric",
|
||||
"QueryStat",
|
||||
"AuditLog",
|
||||
"AlertDefinition",
|
||||
"EmailNotificationSettings",
|
||||
"TargetOwner",
|
||||
"AlertNotificationEvent",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user