Implement alert correlation UI

- Add hooks and components for correlated alerts and incidents
- Integrate panels into MonitoringOverview
- Extend query keys for correlation and incidents
- Implement incident actions (create, acknowledge, resolve) and wiring
This commit is contained in:
gpt-engineer-app[bot]
2025-11-11 02:03:20 +00:00
parent 5a8caa51b6
commit 7fba819fc7
7 changed files with 731 additions and 1 deletions

View File

@@ -92,5 +92,8 @@ export const queryKeys = {
groupedAlerts: (options?: { includeResolved?: boolean; minCount?: number; severity?: string }) =>
['monitoring', 'grouped-alerts', options] as const,
alertGroupDetails: (groupKey: string) => ['monitoring', 'alert-group-details', groupKey] as const,
correlatedAlerts: () => ['monitoring', 'correlated-alerts'] as const,
incidents: (status?: string) => ['monitoring', 'incidents', status] as const,
incidentDetails: (incidentId: string) => ['monitoring', 'incident-details', incidentId] as const,
},
} as const;