Skip to content

Commit

Permalink
chore: add sentry sample rate to 0.025
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed Mar 6, 2022
1 parent efa38d9 commit ec0bb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/infra/sentry.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func SentryInit(conf *config.Config) error {
Release: "backend-next@" + bininfo.Version,
Debug: conf.DevMode,
AttachStacktrace: true,
TracesSampleRate: 0.01,
TracesSampleRate: 0.025,
Environment: getEnvironment(conf),
BeforeSend: func(event *sentry.Event, hint *sentry.EventHint) *sentry.Event {
if conf.DevMode {
Expand Down

0 comments on commit ec0bb2e

Please sign in to comment.