diff --git a/platform-includes/getting-started-config/python.mdx b/platform-includes/getting-started-config/python.mdx new file mode 100644 index 0000000000000..2e70bbae9789c --- /dev/null +++ b/platform-includes/getting-started-config/python.mdx @@ -0,0 +1,14 @@ +```python {"onboardingOptions": {"performance": "5-7", "profiling": "8-11"}} +import sentry_sdk + +sentry_sdk.init( + dsn="___PUBLIC_DSN___", + # Set traces_sample_rate to 1.0 to capture 100% + # of transactions for tracing. + traces_sample_rate=1.0, + # Set profiles_sample_rate to 1.0 to profile 100% + # of sampled transactions. + # We recommend adjusting this value in production. + profiles_sample_rate=1.0, +) +```