feat: add configurable profiling endpoints (#38)

This commit is contained in:
2024-09-23 10:12:42 +02:00
parent f35384c0f3
commit 8317ac5b9a
9 changed files with 134 additions and 16 deletions

View File

@ -28,10 +28,10 @@ func NewDefaultSentryConfig() SentryConfig {
Debug: false,
FlushTimeout: NewInterpolatedDuration(2 * time.Second),
AttachStacktrace: true,
SampleRate: 1,
SampleRate: 0.2,
EnableTracing: true,
TracesSampleRate: 0.2,
ProfilesSampleRate: 1,
ProfilesSampleRate: 0.2,
IgnoreErrors: []string{},
SendDefaultPII: false,
ServerName: "",