From ecacbb1cbd9b9efcdf9367aeeaaddcfda24cd288 Mon Sep 17 00:00:00 2001 From: William Petit Date: Wed, 2 Oct 2024 12:12:10 +0200 Subject: [PATCH] feat: disable sentry tracing by default --- internal/config/sentry.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/config/sentry.go b/internal/config/sentry.go index 60c2236..8413b86 100644 --- a/internal/config/sentry.go +++ b/internal/config/sentry.go @@ -28,11 +28,11 @@ func NewDefaultSentryConfig() SentryConfig { Debug: false, FlushTimeout: NewInterpolatedDuration(2 * time.Second), AttachStacktrace: true, - SampleRate: 0.2, - EnableTracing: true, - TracesSampleRate: 0.2, - ProfilesSampleRate: 0.2, - IgnoreErrors: []string{}, + SampleRate: 1, + EnableTracing: false, + TracesSampleRate: 0.1, + ProfilesSampleRate: 0.1, + IgnoreErrors: []string{"context canceled"}, SendDefaultPII: false, ServerName: "", Environment: "",