Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/getsentry/sentry-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 usingsentry-go
instead, check out the migration guide.
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
GitHub workflow
.
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
:
$ go get github.com/getsentry/sentry-go@latest
Check out the list of released versions.
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.
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 sentry-go
,
checkout the official documentation:
Licensed under
The MIT License, see
LICENSE
.
Join Sentry's #go
channel on Discord to get
involved and help us improve the SDK!
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.