Attaching Next JS OpenTelemetry with Effect OpenTelemetry
I have an API built using the HttpApi from @effect/platform and I configure this OpenTelemetry layer:
It works but all the tracers are being exported without a root span. NextJS generates a parent span when using @vercel/otel.
Previously, I used this code to attach some parts when we were incrementally adopting effect.
Now, I need to do something similar but to attach it to all the routes defined on the HttpApi without going one by one.
Is this currently possible?
It works but all the tracers are being exported without a root span. NextJS generates a parent span when using @vercel/otel.
Previously, I used this code to attach some parts when we were incrementally adopting effect.
Now, I need to do something similar but to attach it to all the routes defined on the HttpApi without going one by one.
Is this currently possible?

