File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
platform-includes/getting-started-config Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 66 ' profiling' ,
77 ]}
88/>
9- ``` python {"onboardingOptions": {"performance": "8-10", "profiling": "11-14"}}
9+ ``` python
1010import sentry_sdk
1111
1212sentry_sdk.init(
1313 dsn = " ___PUBLIC_DSN___" ,
1414 # Add data like request headers and IP for users, if applicable;
1515 # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
1616 send_default_pii = True ,
17+ # ___PRODUCT_OPTION_START___ performance
1718 # Set traces_sample_rate to 1.0 to capture 100%
1819 # of transactions for tracing.
1920 traces_sample_rate = 1.0 ,
21+ # ___PRODUCT_OPTION_END___ performance
22+ # ___PRODUCT_OPTION_START___ profiling
2023 # Set profiles_sample_rate to 1.0 to profile 100%
2124 # of sampled transactions.
2225 # We recommend adjusting this value in production.
2326 profiles_sample_rate = 1.0 ,
27+ # ___PRODUCT_OPTION_END___ profiling
2428)
2529```
You can’t perform that action at this time.
0 commit comments