Add alert management functionality in backend and frontend

This commit introduces alert management capabilities, including creating, updating, listing, and removing custom SQL-based alerts in the backend. It adds the necessary database migrations, API endpoints, and frontend pages to manage alerts, enabling users to define thresholds and monitor system health effectively.
This commit is contained in:
2026-02-12 12:50:11 +01:00
parent d76a838bbb
commit 4035335901
11 changed files with 1236 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
from app.models.models import AuditLog, Metric, QueryStat, Target, User
from app.models.models import AlertDefinition, AuditLog, Metric, QueryStat, Target, User
__all__ = ["User", "Target", "Metric", "QueryStat", "AuditLog"]
__all__ = ["User", "Target", "Metric", "QueryStat", "AuditLog", "AlertDefinition"]