profiling

This commit is contained in:
Ruidy 2024-03-11 21:01:04 +01:00
parent e100f50def
commit b537d03777
No known key found for this signature in database
GPG key ID: E00F51288CB857CC

View file

@ -31,9 +31,10 @@ func init() {
func main() {
if err := sentry.Init(sentry.ClientOptions{
Dsn: os.Getenv("SENTRY_DSN"),
EnableTracing: true,
TracesSampleRate: 1.0,
Dsn: os.Getenv("SENTRY_DSN"),
EnableTracing: true,
TracesSampleRate: 1.0,
ProfilesSampleRate: 1.0,
}); err != nil {
log.Fatalf("error initializing sentry: %s", err)
}