logrus_sentry icon indicating copy to clipboard operation
logrus_sentry copied to clipboard

sentry hook for logrus

Results 22 logrus_sentry issues
Sort by recently updated
recently updated
newest added

Hey @evalphobia thanks for doing this! Would you be opposed to moving this into raven-go? We have some other framework support, like Gin, that we're likely going to be moving...

Looks like Sentry is migrating their go package from raven-go to sentry-go (https://github.com/getsentry/sentry-go). Is there any plan to support it? Thanks!

If formatData is called with a nil Stringer or Error, the current code will raise a null pointer exception.

Added support to convert stacktrace from https://github.com/ansel1/merry errors. We could in addition support a generic error interface that returns `[]uintptr`. This helps to convert the caller frames attached to error...

I'm using the hook with a raven client like so: ```go ravenClient, err := raven.New(sentryDSN) if err != nil { log.Fatal(err) } ravenClient.SetRelease(release) ravenClient.SetEnvironment(environment) // set up error logs and...

I faced an issue with stacktrace first entry being incorrect. Say in application we have something like that: ``` gitlab.com/project/api/repositories.(*ModelTranslation).Create /service/repositories/model_translation.go:33 gitlab.com/project/api/services.(*Model).Create.func1 /service/services/model.go:68 github.com/go-pg/pg.(*Tx).RunInTransaction /go/pkg/mod/github.com/go-pg/[email protected]+incompatible/tx.go:79 ... ``` But Sentry received...

I'm using the hook but don't know how to add the special user keys inside a request. I found https://godoc.org/github.com/evalphobia/logrus_sentry#SentryHook.SetUserContext but I create the hook and add it to my...

Hiiiiiii Today a [breaking change](https://github.com/pkg/errors/pull/183) in `github.com/pkg/errors` package was merged which changes type for `errors.Frame` from a simple program counter to `runtime.Frame`. github.com/evalphobia/logrus_sentry/sentry.go:314:16 `cannot convert stFrames[i] (type "github.com/pkg/errors".Frame) to type...

The [v0.5.1](https://github.com/evalphobia/logrus_sentry/releases/tag/v0.5.1) release adds a reference to `logrus.TraceLevel` which was released in [v1.2.0](https://github.com/sirupsen/logrus/releases/tag/v1.2.0). Given that your repository doesn't pin its dependencies, this can result in transitive dependency failures. Instead your...

I think it could be interesting to have a breadcrumbs support. Basically this would capture the X log entries from before the exceptions and send them associated with the error...