Skip to content

Commit

Permalink
fix: set transaction name
Browse files Browse the repository at this point in the history
  • Loading branch information
fritterhoff committed Nov 25, 2024
1 parent 885e553 commit b78e306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cas/sectigocas/sectigocas.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func sentryInterceptor(ctx context.Context,
trace, okTrace := ctx.Value(sentryTrace{}).(string)
baggage, okBaggage := ctx.Value(sentryBaggage{}).(string)

options := []sentry.SpanOption{sentry.WithDescription(method)}
options := []sentry.SpanOption{sentry.WithTransactionName(method), sentry.WithDescription(method)}
if okTrace && okBaggage {
options = append(options, sentry.ContinueFromHeaders(trace, baggage))
}
Expand Down

0 comments on commit b78e306

Please sign in to comment.