about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-08 10:49:43 +0200
committerAlan Pearce2024-06-08 10:49:43 +0200
commitef6c98da84c2327e0a0003fb3b1b64a5d1e2d550 (patch)
tree24b5f10bfc51e6974cbee3e5acc13f5f5865d1df
parent872ae5db32c605ef385588a33673ce5fef29ff21 (diff)
downloadsearchix-ef6c98da84c2327e0a0003fb3b1b64a5d1e2d550.tar.lz
searchix-ef6c98da84c2327e0a0003fb3b1b64a5d1e2d550.tar.zst
searchix-ef6c98da84c2327e0a0003fb3b1b64a5d1e2d550.zip
chore: reduce tracing sample rate
-rw-r--r--searchix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchix.go b/searchix.go
index f91fe48..b53ccfb 100644
--- a/searchix.go
+++ b/searchix.go
@@ -125,7 +125,7 @@ func New(cfg *config.Config) (*Server, error) {
 
 	err := sentry.Init(sentry.ClientOptions{
 		EnableTracing:    true,
-		TracesSampleRate: 1.0,
+		TracesSampleRate: 0.01,
 		Dsn:              cfg.Web.SentryDSN,
 		Environment:      cfg.Web.Environment,
 	})