Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Dec 6, 2022
1 parent fadae50 commit 9799e22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -27,6 +27,7 @@ Due to ongoing work towards a stable API for `v1.0.0`, we sadly had to include t
TracesSampler: sentry.TracesSampler(func(ctx sentry.SamplingContext) float64 {
hub := sentry.GetHubFromContext(ctx.Span.Context())
name := hub.Scope().Transaction()

if strings.HasPrefix(name, "GET /api") {
return 1.0
}
Expand Down

0 comments on commit 9799e22

Please sign in to comment.