We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8117394 commit 1a4c7f1Copy full SHA for 1a4c7f1
internal/lib/libsentry/sentry.go
@@ -12,12 +12,12 @@ func InitSentry(c *conf.Sentry) error {
12
}
13
// Initialize the Sentry SDK.
14
err := sentry.Init(sentry.ClientOptions{ //nolint:exhaustruct // no need
15
- Dsn: c.GetDsn(),
16
- AttachStacktrace: true,
17
- EnableTracing: true,
18
- TracesSampleRate: 1.0,
19
- ProfilesSampleRate: 1.0,
20
- Environment: c.GetEnvironment(),
+ Dsn: c.GetDsn(),
+ AttachStacktrace: true,
+ EnableTracing: true,
+ TracesSampleRate: 1.0,
+ SampleRate: 1.0,
+ Environment: c.GetEnvironment(),
21
})
22
if err != nil {
23
return err
0 commit comments