We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes we see the following issue in Graylog:
log_level=ERROR | log_timestamp=2024-12-11 05:00:10,293 | log_source=opentelemetry.context:detach(154) | log_uid=None | log_oec=None| log_trace_id=d71b9949c21c98ff34df98494d746301 | log_span_id=b2f25cb4b82b7da3 | log_resource.service.name= | log_trace_sampled=True] | log_msg=Failed to detach context Traceback (most recent call last): File "/home/scu/.venv/lib/python3.11/site-packages/opentelemetry/context/__init__.py", line 152, in detach _RUNTIME_CONTEXT.detach(token) File "/home/scu/.venv/lib/python3.11/site-packages/opentelemetry/context/contextvars_context.py", line 50, in detach self._current_context.reset(token) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected an instance of Token, got {'current-span-b4992ee6-0846-47e8-89e2-8f2a69add41a': _Span(name="POST /v2/computations", context=SpanContext(trace_id=0xd71b9949c21c98ff34df98494d746301, span_id=0xb2f25cb4b82b7da3, trace_flags=0x01, trace_state=[], is_remote=False))}
The content you are editing has changed. Please copy your edits and refresh the page.
The text was updated successfully, but these errors were encountered:
See also open-telemetry/opentelemetry-python#4164 open-telemetry/opentelemetry-python#4163
Sorry, something went wrong.
mrnicegyu11
bisgaard-itis
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Planned changes
Sometimes we see the following issue in Graylog:
Todo
The text was updated successfully, but these errors were encountered: