send performance entry for sentry
This commit is contained in:
parent
b498a18776
commit
52032d10e6
@ -35,7 +35,9 @@ if QUART_DEBUG:
|
|||||||
|
|
||||||
SENTRY_DSN = getenv("SENTRY_DSN")
|
SENTRY_DSN = getenv("SENTRY_DSN")
|
||||||
if 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")
|
API_BASE_URL = getenv("API_BASE_URL", "https://discordapp.com/api")
|
||||||
AUTHORIZATION_BASE_URL = f"{API_BASE_URL}/oauth2/authorize"
|
AUTHORIZATION_BASE_URL = f"{API_BASE_URL}/oauth2/authorize"
|
||||||
|
Loading…
Reference in New Issue
Block a user