send performance entry for sentry
divent / lint (push) Successful in 2m6s Details
divent / docker (push) Successful in 2m13s Details
divent / pypi (push) Has been skipped Details

This commit is contained in:
Michel Roux 2023-08-11 23:12:24 +02:00
parent b498a18776
commit 52032d10e6
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ if QUART_DEBUG:
SENTRY_DSN = getenv("SENTRY_DSN")
if SENTRY_DSN:
sentry_sdk.init(SENTRY_DSN, integrations=[QuartIntegration()])
sentry_sdk.init(
dsn=SENTRY_DSN, integrations=[QuartIntegration()], traces_sample_rate=1.0
)
API_BASE_URL = getenv("API_BASE_URL", "https://discordapp.com/api")
AUTHORIZATION_BASE_URL = f"{API_BASE_URL}/oauth2/authorize"