From 6c643068c7f77589392ce7daaefeb84ffd4a4724 Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Mon, 11 May 2026 14:40:56 +0200 Subject: [PATCH] fix(web/admin): expose PoisonQueueBacklog event types in OpsAlertRules UI The previous commit added the two new EventTypes server-side (PoisonQueueBacklogHigh / PoisonQueueBacklogCritical) but the admin alert rules section hardcodes its known-event-types catalog in the component itself - so the dropdown didn't list them and operators couldn't wire Telegram to the new alerts. Adds both strings to the Security category, matching how the SignalR/Cert event types were registered when those watchers landed. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../app/admin/components/OpsAlertRulesSection.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Web/autopilot-monitor-web/app/admin/components/OpsAlertRulesSection.tsx b/src/Web/autopilot-monitor-web/app/admin/components/OpsAlertRulesSection.tsx index cf713023..d9c8788c 100644 --- a/src/Web/autopilot-monitor-web/app/admin/components/OpsAlertRulesSection.tsx +++ b/src/Web/autopilot-monitor-web/app/admin/components/OpsAlertRulesSection.tsx @@ -19,6 +19,8 @@ const OPS_EVENT_TYPES: Record = { "SignalRConnectionsCritical", "SignalRMessagesHigh", "SignalRMessagesCritical", + "PoisonQueueBacklogHigh", + "PoisonQueueBacklogCritical", ], Tenant: ["TenantOffboarded"], Agent: ["BlobStorageMissing", "BlobStorageUnreachable", "NewImeVersionDetected", "ExcessiveSessionEvents"],