Skip to content

Commit b0d2d15

Browse files
authored
fix(docs): Fix missing python configure SDK code snippet #11413
In our SDK docs, for most of the platforms we were missing init SDK code snippet for python in Configure section (e.g. AIOHTTP). This is because we were missing python.mdx as a platfrom in our platform-includes/getting-started-config/ directory. The code snippet here is the same as for the default Python SDK configuration.
1 parent cf62806 commit b0d2d15

File tree

1 file changed

+14
-0
lines changed
  • platform-includes/getting-started-config

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
```python {"onboardingOptions": {"performance": "5-7", "profiling": "8-11"}}
2+
import sentry_sdk
3+
4+
sentry_sdk.init(
5+
dsn="___PUBLIC_DSN___",
6+
# Set traces_sample_rate to 1.0 to capture 100%
7+
# of transactions for tracing.
8+
traces_sample_rate=1.0,
9+
# Set profiles_sample_rate to 1.0 to profile 100%
10+
# of sampled transactions.
11+
# We recommend adjusting this value in production.
12+
profiles_sample_rate=1.0,
13+
)
14+
```

0 commit comments

Comments
 (0)