Skip to content

Commit ccf6ee3

Browse files
committed
Revert "👷 Remove expired telemetry"
This reverts commit bd38f39.
1 parent bd38f39 commit ccf6ee3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

‎packages/core/src/domain/session/sessionManager.ts‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,19 @@ function detectSessionIdChange(configuration: Configuration, initialSessionState
210210
const newSessionState = toSessionState(changed.value)
211211
if (newSessionState.id && newSessionState.id !== initialSessionState.id) {
212212
stop()
213-
getSessionCookies().catch(monitorError)
213+
const time = dateNow() - sdkInitTime
214+
getSessionCookies()
215+
.then((cookie) => {
216+
// monitor-until: 2025-10-01, after investigation done
217+
addTelemetryDebug('Session cookie changed', {
218+
time,
219+
session_age: sessionAge,
220+
old: initialSessionState,
221+
new: newSessionState,
222+
cookie,
223+
})
224+
})
225+
.catch(monitorError)
214226
}
215227
}
216228
}

0 commit comments

Comments
 (0)