github getsentry/sentry-go v0.22.0
0.22.0

latest releases: v0.29.0, otel/v0.29.0, v0.28.1...
15 months ago

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

This release contains initial profiling support, as well as a few bug fixes and improvements.

Features

  • Initial (alpha) support for profiling (#626)

    Profiling is disabled by default. To enable it, configure both TracesSampleRate and ProfilesSampleRate when initializing the SDK:

    err := sentry.Init(sentry.ClientOptions{
      Dsn: "__DSN__",
      EnableTracing: true,
      TracesSampleRate: 1.0,
      // The sampling rate for profiling is relative to TracesSampleRate. In this case, we'll capture profiles for 100% of transactions.
      ProfilesSampleRate: 1.0,
    })

    More documentation on profiling and current limitations can be found here.

  • Add transactions/tracing support go the Gin integration (#644)

Bug fixes

  • Always set a valid source on transactions (#637)
  • Clone scope.Context in more places to avoid panics on concurrent reads and writes (#638)
  • Fix frames recognized as not being in-app still showing as in-app (#647)

Don't miss a new sentry-go release

NewReleases is sending notifications on new releases.