Open ivomagi opened 3 years ago
Hey all. We are developing a socket.io instrumentation plugin at Aspecto atm. So we would love to participate in this discussion as it would help us write better instrumentation.
Hey all. We are developing a socket.io instrumentation plugin at Aspecto atm. So we would love to participate in this discussion as it would help us write better instrumentation.
@mottibec - I started the discussion with the interested parties in the CNCF OpenTelemetry Slack. You do not seem to be the member of this workspace, so if you would consider joining, follow the instructions at https://github.com/open-telemetry/community to participate.
What are you trying to achieve?
Even though websockets can be modelled as a CLIENT span much alike XHRs and fetches (connection open, eventually closes or errors), likely a more correct interpretation is a messaging system (PRODUCER & CONSUMER), though even this gets more complicated with some abstraction layers such as socket.io that can provide callbacks.