Skip to content
New issue

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

Moving contextvars and threadlocal context implementations to the API #419

Merged
merged 4 commits into from
Feb 18, 2020

Commits on Feb 14, 2020

  1. Moving context implementations to the API

    While keeping the flexibility of the interface to support additional implementations of the RuntimeContext, moving the ContextVarsRuntimeContext and ThreadLocalRuntimeContext into the API ensures a useful context implementation for users without requiring additional configuration. This changes checks the version number to determine which implementation to use, unless it is overridden by the OPENTELEMETRY_CONTEXT environment variable. Removing the DefaultRuntimeContext as part of this change.
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    90378f4 View commit details
    Browse the repository at this point in the history
  2. adding python_version

    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    253a969 View commit details
    Browse the repository at this point in the history
  3. fix lint, update required version

    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    39e0a19 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Update opentelemetry-api/src/opentelemetry/context/threadlocal_contex…

    …t.py
    
    Co-Authored-By: Chris Kleinknecht <[email protected]>
    codeboten and c24t authored Feb 18, 2020
    Configuration menu
    Copy the full SHA
    57b214e View commit details
    Browse the repository at this point in the history