webui: authenticated API spans are all named GET / #258

Closed
opened 2026-10-27 13:35:35 +00:00 by sam · 0 comments
Owner

archie-ui's auth wrappers copy the request, so the inner ServeMux pattern never reaches otelhttp and every authenticated span is named 'GET /'. Set the route on the span from inside the mux (otelhttp.WithRouteTag or labeler) or restructure so the pattern propagates.

Acceptance criteria

Dashboard API spans are named by method and ServeMux pattern, e.g. 'GET /api/tasks'.

Close reason

telemetry.Routed names server spans from the inner mux pattern (verified: GET /api/tasks/{id} with http.route through a request-copying wrapper)


Imported from beads archie-core-fzb3x.6 · GitHub #1909 · type bug · priority P3 · created 2026-10-25 · closed 2026-10-25

archie-ui's auth wrappers copy the request, so the inner ServeMux pattern never reaches otelhttp and every authenticated span is named 'GET /'. Set the route on the span from inside the mux (otelhttp.WithRouteTag or labeler) or restructure so the pattern propagates. ### Acceptance criteria Dashboard API spans are named by method and ServeMux pattern, e.g. 'GET /api/tasks'. ### Close reason telemetry.Routed names server spans from the inner mux pattern (verified: GET /api/tasks/{id} with http.route through a request-copying wrapper) --- _Imported from beads `archie-core-fzb3x.6` · GitHub #1909 · type bug · priority P3 · created 2026-10-25 · closed 2026-10-25_
sam added the lowbug labels 2026-10-27 13:35:35 +00:00
sam self-assigned this 2026-10-27 13:35:35 +00:00
sam closed this issue 2026-10-27 13:35:35 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#258