-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop raven in favor of sentry-go #383
base: master
Are you sure you want to change the base?
Conversation
24fae37
to
6e9445d
Compare
@@ -106,7 +126,7 @@ func HandleError(rp interface{}, handlerName string, w http.ResponseWriter, r *h | |||
} | |||
log.Stack(ctx) | |||
|
|||
sentryEvent{ctx, r, rp, 1, handlerName}.Send() | |||
sentry.CaptureEvent(getEvent(ctx, r, rp, 1, handlerName)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we find a better variable name for rp
? It seems to be type any
. But it's hard to grasp.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also for other usages inside this file...
} | ||
|
||
// from env | ||
packet.Extra["microservice"] = os.Getenv("JAEGER_SERVICE_NAME") | ||
event.Extra["microservice"] = os.Getenv("JAEGER_SERVICE_NAME") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a side question: When will we be able to drop or change this env var? Because we don't actually use Jaeger anymore...
Closes #367