opentelemetry-js
opentelemetry-js copied to clipboard
How to propagate span context from one autoinstrumented span into next. E.g. express `instrumentation-http` into `instrumentation-nestjs-core`?
trafficstars
What happened?
Steps to Reproduce
I am using trace.getActiveSpan() and propagating context into child spans.
But this isn't working for when autoinstrumented context switches.
I have this scenario:
Expected Result
I would need to be able to propagate context. Is baggage the only option here?
Actual Result
How can I propagate span context from one autoinstrumented span into next. E.g. express instrumentation-http into instrumentation-nestjs-core?
OpenTelemetry Setup Code
No response
package.json
No response
Relevant log output
No response