github getsentry/sentry-go v0.41.0
0.41.0

5 hours ago

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.41.0.

Features

  • Add HTTP client integration for distributed tracing via sentryhttpclient package (#876)
    • Provides an http.RoundTripper implementation that automatically creates spans for outgoing HTTP requests
    • Supports trace propagation targets configuration via WithTracePropagationTargets option
    • Example usage:
      import sentryhttpclient "github.com/getsentry/sentry-go/httpclient"
      
      roundTripper := sentryhttpclient.NewSentryRoundTripper(nil)
      client := &http.Client{
          Transport: roundTripper,
      }
  • Add ClientOptions.PropagateTraceparent option to control W3C traceparent header propagation in outgoing HTTP requests (#1161)
  • Add SpanID field to structured logs (#1169)

Don't miss a new sentry-go release

NewReleases is sending notifications on new releases.