File size: 291 Bytes
2f2ee28
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import sentry_sdk
from . import env_loader

sentry_sdk.init(
    dsn=env_loader.envs.get("SENTRY_URL"),

    # Set traces_sample_rate to 1.0 to capture 100%
    # of transactions for performance monitoring.
    # We recommend adjusting this value in production.
    traces_sample_rate=1.0
)