Skip to content

Commit 1a4c7f1

Browse files
committed
fix
1 parent 8117394 commit 1a4c7f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

internal/lib/libsentry/sentry.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ func InitSentry(c *conf.Sentry) error {
1212
}
1313
// Initialize the Sentry SDK.
1414
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(),
15+
Dsn: c.GetDsn(),
16+
AttachStacktrace: true,
17+
EnableTracing: true,
18+
TracesSampleRate: 1.0,
19+
SampleRate: 1.0,
20+
Environment: c.GetEnvironment(),
2121
})
2222
if err != nil {
2323
return err

0 commit comments

Comments
 (0)