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

feat: Initial tracing implementation #285

Merged
merged 1 commit into from
Dec 7, 2020
Merged

feat: Initial tracing implementation #285

merged 1 commit into from
Dec 7, 2020

Commits on Dec 7, 2020

  1. feat: Initial tracing implementation

    This adds the StartSpan function and related APIs to the SDK.
    
    The initial support focuses on manual instrumentation and HTTP servers
    based on net/http.
    
    Tracing is opt-in. Use one of the new options, TracesSampleRate or
    TracesSampler, when initializing the SDK to enable sending transactions
    and spans to Sentry.
    
    The tracing APIs rely heavily on the standard Context type from Go, and
    integrate with the SDKs notion of scopes.
    
    See example/http/main.go for an example of how the new APIs are meant to
    be used in practice.
    
    While the basic functionality should be in place, more features are
    planned for later.
    rhcarvalho committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    b7b7615 View commit details
    Browse the repository at this point in the history