Skip to content

0.22.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 16 Jun 10:27

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)