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

@ -76,9 +76,7 @@ func getBuildTime() time.Time {
func setupSentry() { func setupSentry() {
err := sentry.Init(sentry.ClientOptions{ err := sentry.Init(sentry.ClientOptions{
Dsn: SentryDSN, Dsn: SentryDSN,
EnableTracing: true, EnableTracing: false,
TracesSampleRate: 0.5,
ProfilesSampleRate: 0.1,
SendDefaultPII: true, SendDefaultPII: true,
Release: GitCommit, Release: GitCommit,
}) })