elixir-plug/plug_cowboy

tracing using opentelemetry

Closed this issue · 1 comments

dvic commented

Has anyone tried using OpenTelemetry with Cowboy and a Plug? The idea is to have a root span start when cowboy starts a request and a child span for the plug duration. I know I can hook into telemetry events but I need to link the created spans together. What are the ways in which you could pass an OpenTelemetry context up to the plug, or is this simply not possible without forking / using ETS?

Asking for a friend ;) opentelemetry-beam/opentelemetry_phoenix#28

We emit telemetry events, so I hope that’s enough. I am not familiar with open telemetry to answer the question though, so I would ask there where you asked, the observability WG slack or the forum. :)