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
In ConnectionContext.close(), replace catch (Exception ignored) with a structured ERROR log entry and a Micrometer counter named analytics.connection.leak. This allows ops to alert on spikes in connection leaks rather than silently swallowing errors.
Description
In
ConnectionContext.close(), replacecatch (Exception ignored)with a structuredERRORlog entry and a Micrometer counter namedanalytics.connection.leak. This allows ops to alert on spikes in connection leaks rather than silently swallowing errors.Improvement plan: https://docs.google.com/document/d/1hVfIurPqAJJ1PN1EalmvrWXnGNt5sY21MI-409lrXpU/edit?tab=t.klqavlz4cis7#heading=h.8vek9yxwq8yt
Parent epic: #35048
Acceptance Criteria
catch (Exception ignored)removed fromConnectionContext.close()ERRORlog entry (consistent with logging standard from Set up async structured JSON logging in analytics microservice #35056)analytics.connection.leakincremented on each caught exception/actuator/metrics/analytics.connection.leakAdditional Context
issue-34849-Add-dotCMS-Analytics-Proxy-Endpoint-for-/v1/analytics/-to-dot-ca-event-manager