[MM-64244] Add websocket disconnect reason metric (#31032)

We've recently spent some effort improving websocket reconnection logic. With this commit, I've augmented the websocket reconnect metric to include a disconnect reason. This will help us measure the impact of these changes in production.
Этот коммит содержится в:
David Krauser
2025-05-30 08:15:20 -04:00
коммит произвёл GitHub
родитель 611b2a8e79
Коммит 761584c040
9 изменённых файлов: 215 добавлений и 41 удалений

Просмотреть файл

@@ -115,6 +115,7 @@ exports[`PostBodyAdditionalContent with a normal link Should render the plugin c
"eventCallback": null,
"firstConnectCallback": null,
"firstConnectListeners": Set {},
"lastErrCode": null,
"messageListeners": Set {},
"missedEventCallback": null,
"missedMessageListeners": Set {},
@@ -175,6 +176,7 @@ exports[`PostBodyAdditionalContent with a normal link Should render the plugin c
"eventCallback": null,
"firstConnectCallback": null,
"firstConnectListeners": Set {},
"lastErrCode": null,
"messageListeners": Set {},
"missedEventCallback": null,
"missedMessageListeners": Set {},