mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
added IME agent update alert
This commit is contained in:
@@ -1 +1 @@
|
||||
861
|
||||
862
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace AutopilotMonitor.Functions.Services
|
||||
tenantId, "System.Maintenance", new { sessionCount, timeoutHours });
|
||||
|
||||
public Task RecordNewImeVersionDetectedAsync(string version, string tenantId, string sessionId)
|
||||
=> WriteAsync(OpsEventCategory.Agent, "NewImeVersionDetected", OpsEventSeverity.Info,
|
||||
=> WriteAsync(OpsEventCategory.Agent, "NewImeVersionDetected", OpsEventSeverity.Warning,
|
||||
$"New IME agent version detected: {version}",
|
||||
tenantId, "System.Ingest", new { version, sessionId });
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ const OPS_EVENT_TYPES: Record<string, string[]> = {
|
||||
Maintenance: ["MaintenanceCompleted", "MaintenanceFailed", "OpsEventCleanup", "SessionTimeouts"],
|
||||
Security: ["DeviceBlocked", "ExcessiveDataBlocked", "VersionBlocked"],
|
||||
Tenant: ["TenantOffboarded"],
|
||||
Agent: ["BlobStorageMissing", "BlobStorageUnreachable"],
|
||||
Agent: ["BlobStorageMissing", "BlobStorageUnreachable", "NewImeVersionDetected"],
|
||||
};
|
||||
|
||||
const SEVERITIES = ["Info", "Warning", "Error", "Critical"];
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user