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
Steps to reproduce
Set OTEL_PYTHON_CONTEXT=context.
What is the expected behavior? _RUNTIME_CONTEXT be initiated as an Context instance.
What is the actual behavior? _RUNTIME_CONTEXT failed to initialize.
Additional context
If OTEL_PYTHON_CONTEXT=contextvars_context, an ContextVarsRuntimeContext instance would be loaded, however, if OTEL_PYTHON_CONTEXT=context, an Context instance won't be loaded. This is caused by entry_points function, the return value contains only one EntryPoint named contextvars_context.
Environment
Steps to reproduce
Set
OTEL_PYTHON_CONTEXT=context
.What is the expected behavior?
_RUNTIME_CONTEXT
be initiated as anContext
instance.What is the actual behavior?
_RUNTIME_CONTEXT
failed to initialize.Additional context
If
OTEL_PYTHON_CONTEXT=contextvars_context
, anContextVarsRuntimeContext
instance would be loaded, however, ifOTEL_PYTHON_CONTEXT=context
, anContext
instance won't be loaded. This is caused byentry_points
function, the return value contains only oneEntryPoint
namedcontextvars_context
.See #3763 (comment)
The text was updated successfully, but these errors were encountered: