Nothing the page does in the browser reaches the logs or traces #190

Closed
opened 2026-10-11 07:07:08 -07:00 by rays · 1 comment
Owner

Script errors, failed promises, hls.js fatal errors and playback stalls stay in the browser: a DeadAir playback failure on the phone shows a toast and nothing else. The page sends no traceparent, so Tempo cannot tie one action in the page to the requests it made, and nothing measures how long play takes to start. Plan: POST /api/client for page errors, player errors, stalls and time to first sound, logged as ev lines (target ipx::client) for Loki and the dashboard; and a traceparent on the page's API requests, one trace per action, adopted by the server's request span.

Script errors, failed promises, hls.js fatal errors and playback stalls stay in the browser: a DeadAir playback failure on the phone shows a toast and nothing else. The page sends no traceparent, so Tempo cannot tie one action in the page to the requests it made, and nothing measures how long play takes to start. Plan: POST /api/client for page errors, player errors, stalls and time to first sound, logged as ev lines (target ipx::client) for Loki and the dashboard; and a traceparent on the page's API requests, one trace per action, adopted by the server's request span.
rays added the enhancement label 2026-10-11 07:07:08 -07:00
Author
Owner

Done in 6c931d0, deployed. Verified: two requests sent with one traceparent are one trace in Tempo (1900000000000000000000000000c0de). The page's reports appear as ipx::client lines once it is used: {container="iPX"} |= "ipx::client".

Done in 6c931d0, deployed. Verified: two requests sent with one traceparent are one trace in Tempo (1900000000000000000000000000c0de). The page's reports appear as ipx::client lines once it is used: {container="iPX"} |= "ipx::client".
rays closed this issue 2026-10-11 07:16:34 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#190