TraceNullContext forwards every attribute to itself, so the previous root_span.get_span_context() probe returned the null context itself and otel's exporter failed with 'expected bytes, TraceNullContext found'. Gate on tracing_enable before probing.
TraceNullContext forwards every attribute to itself, so the previous root_span.get_span_context() probe returned the null context itself and otel's exporter failed with 'expected bytes, TraceNullContext found'. Gate on tracing_enable before probing.