Skip to content

Commit

Permalink
hotfix: disable performance tracing
Browse files Browse the repository at this point in the history
too spammy
  • Loading branch information
aldy505 committed Jan 18, 2024
1 parent ec057c3 commit 41951a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func main() {
Dsn: sentryDSN,
Debug: environment != "production",
SampleRate: 1.0,
EnableTracing: true,
EnableTracing: false,
TracesSampler: func(ctx sentry.SamplingContext) float64 {
if ctx.Span.Name == "GET /" || ctx.Span.Name == "GET /robots.txt" || ctx.Span.Name == "GET /favicon.ico" {
return 0
Expand Down

0 comments on commit 41951a8

Please sign in to comment.