Correlation
Sessions
session_id (s_…) is the public browser session correlation identity. It is not anonymousId, not an auth token, and not invented from time ranges.
Public session id
The Browser SDK generates a tab-scoped s_… id in sessionStorage. Same-origin requests may send it as X-Mydle-Session-ID. Persist it on backend spans/logs when you want session-wide joins.
Joins
- Session → logs:
browser_sessions.session_idequalslog_entries.session_id. - Session → traces: equal
session_idon stored traces. - Log search:
session:/sessionid:.
API
GET /api/app/correlation?type=session&id=s_… returns DIRECT references when stored.
Limitations
- Internal
bsess_*row ids are not product correlation keys. anonymousIddoes not join to traces or logs.