You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead it's just a plain object with spanContext and one cannot do something like span.setAttributes(...) that works just fine without datadog's tracer provider.
Would the DD Span implementation alredy take care of this?
I'm running into a similar issue as @dpnova where parent is null and parent._traceId throws an error.
FWIW I left DD_TRACE_OTEL_ENABLED off and manually created the connection between the parent and child span on the boundary of my DD/OTEL traced code. Hope you get it sorted @andrewpuch
Specifically this bit
dd-trace-js/packages/dd-trace/src/opentelemetry/context_manager.js
Lines 25 to 33 in c831ffa
Which causes something like this:
To return a span that doesn't actually implement
Span
(see https://github.com/open-telemetry/opentelemetry-js/blob/957fa3b5e44e43f0cf07adeca8e118f27334dfc3/api/src/trace/span.ts#L33)Instead it's just a plain object with
spanContext
and one cannot do something likespan.setAttributes(...)
that works just fine without datadog's tracer provider.Would the DD
Span
implementation alredy take care of this?dd-trace-js/packages/dd-trace/src/opentelemetry/span.js
Lines 177 to 179 in c831ffa
The text was updated successfully, but these errors were encountered: