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 active span interaction To Trace Context Utilities #923

Commits on Sep 6, 2020

  1. Moving active span interaction To TracerProvider

    Fixes open-telemetry#455.
    
    The previous spec stated that the active span get / set behavior MUST
    behave the same across Tracers retrieved from the same TracerProvider.
    As such, the active span manipulation methods are better provided by the
    TracerProvider directly.
    
    As it is still cumbersome to retrieve the current TracerProvider simply
    to get the current span, add in the concept of a "Trace Package", that can
    provide utilty methods to delegate to the configured default TracerProvider.
    This enables a fluid interface to retrieve the current span:
    
        from opentelemetry import trace
    
        current_span = trace.get_current_span()
    
    To help maintain backwards compatibility, the Tracer may still expose
    active span methods.
    toumorokoshi committed Sep 6, 2020
    Configuration menu
    Copy the full SHA
    5f70f81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd9d8a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2020

  1. Addressing feedback

    toumorokoshi committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    e2b6e02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c76928 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Merge remote-tracking branch 'source/master' into feature/context-int…

    …eraction-from-contextmanager
    toumorokoshi committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    f692cdd View commit details
    Browse the repository at this point in the history
  2. Addressing feedback

    Removing the get / set current span methods from the TracerProvider.
    
    There is consensus that the functions should have the same behavior
    regardless of the TracerProvider.
    
    This change now means that the span retrieval methods can not be defined
    completely by the Trace Package. Moving the requirements up to the package level.
    toumorokoshi committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    b9e9305 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2020

  1. Addressing comments

    Selecting "Tracing Context Utilities" rather than "Trace Package" to provide
    clear guidance on languages that do not have static module-level functions.
    
    Adding a section on the ability to expose these as module-level functions to ensure
    that the simplified workflow of a top-level get / set span is possible.
    toumorokoshi committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    1897bf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    760ae7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bebaf44 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2020

  1. Configuration menu
    Copy the full SHA
    0ba8658 View commit details
    Browse the repository at this point in the history
  2. adding changelog entry

    toumorokoshi committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    117c30b View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2020

  1. Configuration menu
    Copy the full SHA
    b1ed693 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    c351dce View commit details
    Browse the repository at this point in the history