Skip to content

Configure Scope in Transaction/Request #814

Answered by cleptric
billypap1 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the hub is cloned on each request, and the correct scoping is guaranteed per request.
See https://github.com/getsentry/sentry-go/blob/master/gin/sentrygin.go#L54-L59

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@billypap1
Comment options

@cleptric
Comment options

Answer selected by billypap1
@billypap1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants