Enhance Sentry SDK configuration with profiling support

This commit is contained in:
2025-04-28 17:13:17 +02:00
parent 45a9d2655c
commit e2c7a08188

View File

@ -20,7 +20,9 @@ default_sentry_dsn: str = "https://c4c61a52838be9b5042144420fba5aaa@o45052280403
sentry_sdk.init(
dsn=os.getenv("SENTRY_DSN", default_sentry_dsn),
environment=platform.node() or "Unknown",
include_local_variables=True,
traces_sample_rate=1.0,
profiles_sample_rate=1.0,
send_default_pii=True,
)