You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Azure Service Bus health patterns to K8sLog (#535)
This update introduces new health check patterns for Azure Service Bus in k8s_log.py, enhancing log analysis capabilities. The added patterns focus on connection recovery, idle timeout recovery, link lifecycle management, and reactor disposal, all categorized under a new "HealthyRecovery" category. Additionally, the log processing logic has been updated to track severity 5 items separately, ensuring clearer reporting of normal operational events that do not require action. This enhancement aims to improve monitoring and troubleshooting of Azure Service Bus interactions within Kubernetes workloads.
"next_steps": ["Add null checks in the failing code path", "Verify object initialization order", "Check for race conditions in concurrent code", "Review request data validation"]
270
294
}
295
+
],
296
+
"HealthyRecovery": [
297
+
{
298
+
"name": "azure_servicebus_connection_recovery",
299
+
"pattern": r"(?i).*(?:onLinkRemoteOpen|onConnectionBound|Emitting new response channel).*(?:connectionId|linkName|entityPath)",
300
+
"severity": 5,
301
+
"next_steps": ["This is normal Azure Service Bus connection recovery behavior", "No action required - connections are re-establishing automatically", "Monitor for excessive connection churn if this occurs very frequently"]
"next_steps": ["This is normal Azure Service Bus idle timeout recovery", "Connections idle for 10+ minutes are automatically cleaned up and recreated", "No action required - automatic retry is functioning correctly"]
308
+
},
309
+
{
310
+
"name": "azure_servicebus_link_lifecycle",
311
+
"pattern": r"(?i).*(?:Freeing resources due to error|link.*is force detached).*(?:IdleTimerExpired|Idle timeout)",
312
+
"severity": 5,
313
+
"next_steps": ["This is normal Azure Service Bus link lifecycle management", "Links are cleaned up after idle timeout and recreated as needed", "No action required - this indicates healthy connection management"]
314
+
},
315
+
{
316
+
"name": "azure_servicebus_reactor_disposal",
317
+
"pattern": r"(?i).*Reactor selectable is being disposed.*connectionId",
318
+
"severity": 5,
319
+
"next_steps": ["This is normal Azure Service Bus reactor cleanup", "Old connections are being properly disposed", "No action required - this indicates proper resource cleanup"]
0 commit comments