sentry-go
sentry-go copied to clipboard
The official Go SDK for Sentry (sentry.io)
``` // NewStacktrace creates a stacktrace using runtime.Callers. func NewStacktrace() *Stacktrace { pcs := make([]uintptr, 100) n := runtime.Callers(1, pcs) if n == 0 { return nil } frames :=...
For better experience for new contributors we should improve our "how to get started" documentation inside the repository. (Basically the files `README.md` and `CONTRIBUTING.md`.) Cool would be that a new...
The topic has popped up in a few occasions. Some don't like to see a long list of indirect dependencies in their `go.mod` files. https://github.com/getsentry/sentry-go/issues/75#issuecomment-553648455 https://github.com/getsentry/sentry-go/issues/75#issuecomment-557699949 https://github.com/getsentry/sentry-go/issues/79
## Expected Behavior GO SDK should send request payload as a json if the request has the right content-type https://develop.sentry.dev/sdk/event-payloads/request/#examples, as per the doc > data > Optional. Submitted data...
[Fiber](https://github.com/gofiber/fiber) integration
Starting with Go 1.18, the `go` command embeds information about the build which can be retrieved using `runtime/debug.ReadBuildInfo` for the current binary. We can use that information to provide a...
## Summary All frames in my stack traces look like they are "in app", no matter where they are from. Currently, the detection is done by this function: ```go func...
Fixes #395
## Summary The sentry-logback implementation supports the injection of tags through the `SENTRY_TAGS_=` environment variables. It would be great if the Go SDK would support this too 🙂 ## Motivation...
We need to add to the SDK a new config bool such that anything that we know will identify a user is not sent on events by default. The entire...