{"repo":"getsentry/sentry-go","free":true,"listed":false,"github":"https://github.com/getsentry/sentry-go","clone":"git clone https://github.com/getsentry/sentry-go.git","description":"The official Go SDK for Sentry (sentry.io)","language":"Go","stars":1102,"topics":["sentry","sdk","go","golang","error-monitoring","crash-reporting","crash-reports","hacktoberfest","tag-production","team-web-backend"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"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 raven-go package. Looking for the old raven-go SDK documentation? See the Legacy client section here. If you want to start using sentry-go instead, check out the migration guide. Requirements The only requirement is a Go compiler. We follow Go's official release policy, supporting the two most recent Go releases. Each major Go release is supported until there are two newer major releases. The exact versions are defined in GitHub workflow . In addition, we run tests against the current master branch of the Go toolchain, though support for this configuration is best-effort. Installation sentry-go can be installed like any other Go library through go get : Check out the list of released versions. Configuration To use sentry-go , you’ll need to import the sentry-go package and initialize it with your DSN and other options. If not specified in the SDK initialization, the DSN, Release and Environment are read from the environment variables SENTRY DSN , SENTRY RELEASE and SENTRY ENVIRONMENT , respectively. More on this in the Configuration section of the official Sentry Go SDK documentation. Usage The SDK supports reporting errors and tracking application performance. To get started, have a look at one of our examples: - Basic error instrumentation - Error and tracing for HTTP servers We also provi","default_branch":null,"files":null,"tree":[],"storefront":"/r/getsentry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/getsentry/sentry-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}