diff options
author | Alan Pearce | 2025-01-18 14:51:51 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-18 14:51:51 +0100 |
commit | c7be08473e423ead4896aaa2b3355a08c4559145 (patch) | |
tree | b21889c6fafa4a51bea68035478d447d2ef094d0 | |
parent | b706b5a3d09983637ea6d5af515733d77b674bdb (diff) | |
download | searchix-c7be08473e423ead4896aaa2b3355a08c4559145.tar.lz searchix-c7be08473e423ead4896aaa2b3355a08c4559145.tar.zst searchix-c7be08473e423ead4896aaa2b3355a08c4559145.zip |
refactor: trace 10% of requests
-rw-r--r-- | searchix.go | 2 |
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, }) |