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
**What is the expected **
Parse as invalid span. Code continues.
What is the actual behavior?
File "/usr/local/lib/python3.8/site-packages/opentelemetry/propagators/jaeger/__init__.py", line 48, in extract
fields = _extract_first_element(
AttributeError: 'NoneType' object has no attribute ‘split’
Additional context
TraceContextTextMapPropagator does this:
It was not very clear from gitter discussion. IIUC it is giving error when the carrier doesn't have the propagation headers (for ex: x-b3-traceid or uber-trace-id) instead of setting invalid span context. I haven't looked at jaeger propagator code closely, but looks like this indeed is not expected behavior.
Python 3.8 / Flask injector 0.17b0
Steps to reproduce
If jaeger is the text map and you do not send a carrier header then the parser fails when it tries to parse the carrier header.
**What is the expected **
Parse as invalid span. Code continues.
What is the actual behavior?
Additional context
TraceContextTextMapPropagator does this:
The text was updated successfully, but these errors were encountered: