Official Sentry SDK for Go
sentry-go provides a Sentry client implementation for the Go programming
language. This is the next generation of the Go SDK for Sentry,
intended to replace the
The only requirement is a Go compiler.
We verify this package against the 3 most recent releases of Go. Those are the
supported versions. The exact versions are defined in
In addition, we run tests against the current master branch of the Go toolchain, though support for this configuration is best-effort.
sentry-go can be installed like any other Go library through
$ go get github.com/getsentry/sentry-go@latest
Check out the list of released versions.
sentry-go, you’ll need to import the
sentry-go package and initialize
it with your DSN and other options.
More on this in the Configuration section of the official Sentry Go SDK documentation.
The SDK supports reporting errors and tracking application performance.
To get started, have a look at one of our examples:
We also provide a complete API reference.
For more detailed information about how to get the most out of
checkout the official documentation:
#go channel on Discord to get
involved and help us improve the SDK!