about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2025-01-18 14:51:51 +0100
committerAlan Pearce2025-01-18 14:51:51 +0100
commitc7be08473e423ead4896aaa2b3355a08c4559145 (patch)
treeb21889c6fafa4a51bea68035478d447d2ef094d0
parentb706b5a3d09983637ea6d5af515733d77b674bdb (diff)
downloadsearchix-c7be08473e423ead4896aaa2b3355a08c4559145.tar.lz
searchix-c7be08473e423ead4896aaa2b3355a08c4559145.tar.zst
searchix-c7be08473e423ead4896aaa2b3355a08c4559145.zip
refactor: trace 10% of requests
-rw-r--r--searchix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchix.go b/searchix.go
index 6cbb4e7..7022081 100644
--- a/searchix.go
+++ b/searchix.go
@@ -138,7 +138,7 @@ type Server struct {
 func New(cfg *config.Config, log *log.Logger) (*Server, error) {
 	err := sentry.Init(sentry.ClientOptions{
 		EnableTracing:    true,
-		TracesSampleRate: 0.01,
+		TracesSampleRate: 0.1,
 		Dsn:              cfg.Web.SentryDSN,
 		Environment:      cfg.Web.Environment,
 	})