logrus_sentry icon indicating copy to clipboard operation
logrus_sentry copied to clipboard

Support sentry-go?

Open danqing opened this issue 6 years ago • 7 comments

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!

danqing avatar Jun 14 '19 13:06 danqing

The old raven-go was archived, so we'll move to new sentry-go.

Should we create new sentry hook repository for the new sentry-go?

evalphobia avatar Aug 22 '19 19:08 evalphobia

That'd be cool.

I've also posted in the sentry-go repo (https://github.com/getsentry/sentry-go/issues/43) with some basic code I'm using right now, fwiw.

danqing avatar Aug 23 '19 04:08 danqing

For those who are looking for sentry-go based solution. My take on it: https://github.com/makasim/sentryhook

makasim avatar Feb 12 '20 11:02 makasim

@evalphobia is this WIP?

dineshgowda24 avatar Apr 11 '21 04:04 dineshgowda24

@dineshgowda24

Sorry, I've not created yet. I recently do not use sentry and logrus so much, so it's bit difficult to test and confirm PR and features on my environment.

If there are no similar alternatives and you and other developers want to use new sentry-go with logrus, I'll create a sentry library having minimum feature on a new github org (e.g. https://github.com/orgs/logrussentry/) and invite you guys.

evalphobia avatar Apr 21 '21 03:04 evalphobia

Is this project still active? We are currently using this hook and it's been incredibly useful so far but we would be keen that it takes advantage of latest Sentry features and development.

acabarbaye avatar Jul 29 '22 09:07 acabarbaye

I have been using this repo for years until I found it has some issues with flushing, makasim/sentryhook is good but I found sentry does have a logrus plugin built-in in the SDK repo: https://github.com/getsentry/sentry-go/tree/master/logrus and it is good enough for me, just need a simple converter, and it works perfect with flushing, just call native sentry.Flush(5 * time.Second) ! :)

junchaw avatar May 02 '24 03:05 junchaw