Skip to content

Conversation

@danschultzer
Copy link
Member

@danschultzer danschultzer commented Apr 2, 2025

Port from open-telemetry/opentelemetry-erlang-contrib#438


This is WIP as it needs an upstream fix in Phoenix: phoenixframework/phoenix#6019

This will add a route template to the attributes, and use that for the span name. We may want to add code attributes from #432 though I'm not sure as we deal with both the socket module that is the transport (e.g. Phoenix.Transports.WebSocket) and the user socket module that's the actual socket passed into the socket macro.

@danschultzer danschultzer force-pushed the main branch 5 times, most recently from 8e44b54 to ed19de1 Compare April 2, 2025 12:00
@danschultzer danschultzer force-pushed the phoenix-socket-span-description branch from 03b5bde to 3e9de17 Compare April 2, 2025 12:12
@danschultzer danschultzer force-pushed the main branch 13 times, most recently from d549221 to b03fe20 Compare April 7, 2025 03:19
@danschultzer danschultzer force-pushed the phoenix-socket-span-description branch from 3e9de17 to d032d16 Compare April 7, 2025 03:36
@danschultzer danschultzer force-pushed the phoenix-socket-span-description branch from d032d16 to f4b7612 Compare April 7, 2025 06:13
@danschultzer danschultzer force-pushed the main branch 3 times, most recently from a8381b0 to 23ab3da Compare April 7, 2025 18:16
@danschultzer danschultzer force-pushed the phoenix-socket-span-description branch from f4b7612 to e31e1c2 Compare April 7, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants