Skip to content

Commit

Permalink
Use gin full path as transaction name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Afanasev committed Jul 27, 2023
1 parent 6683050 commit 2a286b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gin/sentrygin.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (h *handler) handle(c *gin.Context) {
}

transaction := sentry.StartTransaction(ctx,
c.Request.URL.Path,
c.FullPath(),
options...,
)
defer func() {
Expand Down

0 comments on commit 2a286b0

Please sign in to comment.