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 6
6
' profiling' ,
7
7
]}
8
8
/>
9
- ``` python {"onboardingOptions": {"performance": "8-10", "profiling": "11-14"}}
9
+ ``` python
10
10
import sentry_sdk
11
11
12
12
sentry_sdk.init(
13
13
dsn = " ___PUBLIC_DSN___" ,
14
14
# Add data like request headers and IP for users, if applicable;
15
15
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
16
16
send_default_pii = True ,
17
+ # ___PRODUCT_OPTION_START___ performance
17
18
# Set traces_sample_rate to 1.0 to capture 100%
18
19
# of transactions for tracing.
19
20
traces_sample_rate = 1.0 ,
21
+ # ___PRODUCT_OPTION_END___ performance
22
+ # ___PRODUCT_OPTION_START___ profiling
20
23
# Set profiles_sample_rate to 1.0 to profile 100%
21
24
# of sampled transactions.
22
25
# We recommend adjusting this value in production.
23
26
profiles_sample_rate = 1.0 ,
27
+ # ___PRODUCT_OPTION_END___ profiling
24
28
)
25
29
```
You can’t perform that action at this time.
0 commit comments