chore: disable sentry performance tracing, prometheus is enough

This commit is contained in:
Paul Pan 2024-01-03 00:57:13 +08:00
parent 7faeafb367
commit 36760b6d8a
Signed by: Paul
GPG Key ID: D639BDF5BA578AF4

View File

@ -75,12 +75,10 @@ func getBuildTime() time.Time {
func setupSentry() {
err := sentry.Init(sentry.ClientOptions{
Dsn: SentryDSN,
EnableTracing: true,
TracesSampleRate: 0.5,
ProfilesSampleRate: 0.1,
SendDefaultPII: true,
Release: GitCommit,
Dsn: SentryDSN,
EnableTracing: false,
SendDefaultPII: true,
Release: GitCommit,
})
if err != nil {
log.Fatalf("sentry.Init: %s", err)