@@ -34,7 +34,6 @@ sentry_sdk.init(
3434
3535 # Set traces_sample_rate to 1.0 to capture 100%
3636 # of transactions for performance monitoring.
37- # We recommend adjusting this value in production.
3837 traces_sample_rate = 1.0 ,
3938)
4039```
@@ -48,39 +47,36 @@ capture_message("Hello World") # Will create an event in Sentry.
4847raise ValueError () # Will also create an event in Sentry.
4948```
5049
51- - To learn more about how to use the SDK [ refer to our docs] ( https://docs.sentry.io/platforms/python/ )
52- - Are you coming from raven-python? [ Use this migration guide] ( https://docs.sentry.io/platforms/python/migration/ )
53- - To learn about internals use the [ API Reference] ( https://getsentry.github.io/sentry-python/ )
50+ - To learn more about how to use the SDK [ refer to our docs] ( https://docs.sentry.io/platforms/python/ ) .
51+ - Are you coming from ` raven-python ` ? [ Use this migration guide] ( https://docs.sentry.io/platforms/python/migration/ ) .
52+ - To learn about internals use the [ API Reference] ( https://getsentry.github.io/sentry-python/ ) .
5453
5554## Integrations
5655
57- (If you want to create a new integration have a look at the [ Adding a new integration checklist] ( CONTRIBUTING.md#adding-a-new-integration-checklist ) .)
58-
59- - [ Django] ( https://docs.sentry.io/platforms/python/guides/django/ )
60- - [ Flask] ( https://docs.sentry.io/platforms/python/guides/flask/ )
61- - [ Bottle] ( https://docs.sentry.io/platforms/python/guides/bottle/ )
62- - [ AWS Lambda] ( https://docs.sentry.io/platforms/python/guides/aws-lambda/ )
63- - [ Google Cloud Functions] ( https://docs.sentry.io/platforms/python/guides/gcp-functions/ )
64- - [ WSGI] ( https://docs.sentry.io/platforms/python/guides/wsgi/ )
65- - [ ASGI] ( https://docs.sentry.io/platforms/python/guides/asgi/ )
66- - [ Starlette] ( https://docs.sentry.io/platforms/python/guides/starlette/ )
67- - [ FastAPI] ( https://docs.sentry.io/platforms/python/guides/fastapi/ )
68- - [ AIOHTTP] ( https://docs.sentry.io/platforms/python/guides/aiohttp/ )
69- - [ RQ (Redis Queue)] ( https://docs.sentry.io/platforms/python/guides/rq/ )
70- - [ Celery] ( https://docs.sentry.io/platforms/python/guides/celery/ )
71- - [ Chalice] ( https://docs.sentry.io/platforms/python/guides/chalice/ )
72- - [ Falcon] ( https://docs.sentry.io/platforms/python/guides/falcon/ )
73- - [ Quart] ( https://docs.sentry.io/platforms/python/guides/quart/ )
74- - [ Sanic] ( https://docs.sentry.io/platforms/python/guides/sanic/ )
75- - [ Tornado] ( https://docs.sentry.io/platforms/python/guides/tornado/ )
76- - [ Tryton] ( https://docs.sentry.io/platforms/python/guides/tryton/ )
77- - [ Pyramid] ( https://docs.sentry.io/platforms/python/guides/pyramid/ )
78- - [ Logging] ( https://docs.sentry.io/platforms/python/guides/logging/ )
79- - [ Apache Airflow] ( https://docs.sentry.io/platforms/python/guides/airflow/ )
80- - [ Apache Beam] ( https://docs.sentry.io/platforms/python/guides/beam/ )
81- - [ Apache Spark] ( https://docs.sentry.io/platforms/python/guides/pyspark/ )
82-
83- ## Migrate From sentry-raven
56+ (If you want to create a new integration, have a look at the [ Adding a new integration checklist] ( https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md#adding-a-new-integration ) .)
57+
58+ See [ the documentation] ( https://docs.sentry.io/platforms/python/integrations/ ) for an up-to-date list of libraries and frameworks we support. Here are some examples:
59+
60+ - [ Django] ( https://docs.sentry.io/platforms/python/integrations/django/ )
61+ - [ Flask] ( https://docs.sentry.io/platforms/python/integrations/flask/ )
62+ - [ FastAPI] ( https://docs.sentry.io/platforms/python/integrations/fastapi/ )
63+ - [ AIOHTTP] ( https://docs.sentry.io/platforms/python/integrations/aiohttp/ )
64+ - [ SQLAlchemy] ( https://docs.sentry.io/platforms/python/integrations/sqlalchemy/ )
65+ - [ asyncpg] ( https://docs.sentry.io/platforms/python/integrations/asyncpg/ )
66+ - [ Redis] ( https://docs.sentry.io/platforms/python/integrations/redis/ )
67+ - [ Celery] ( https://docs.sentry.io/platforms/python/integrations/celery/ )
68+ - [ Apache Airflow] ( https://docs.sentry.io/platforms/python/integrations/airflow/ )
69+ - [ Apache Spark] ( https://docs.sentry.io/platforms/python/integrations/pyspark/ )
70+ - [ asyncio] ( https://docs.sentry.io/platforms/python/integrations/asyncio/ )
71+ - [ Graphene] ( https://docs.sentry.io/platforms/python/integrations/graphene/ )
72+ - [ Logging] ( https://docs.sentry.io/platforms/python/integrations/logging/ )
73+ - [ Loguru] ( https://docs.sentry.io/platforms/python/integrations/loguru/ )
74+ - [ HTTPX] ( https://docs.sentry.io/platforms/python/integrations/httpx/ )
75+ - [ AWS Lambda] ( https://docs.sentry.io/platforms/python/integrations/aws-lambda/ )
76+ - [ Google Cloud Functions] ( https://docs.sentry.io/platforms/python/integrations/gcp-functions/ )
77+
78+
79+ ## Migrating From ` raven-python `
8480
8581The old ` raven-python ` client has entered maintenance mode and was moved [ here] ( https://github.com/getsentry/raven-python ) .
8682
@@ -90,7 +86,7 @@ If you're using `raven-python`, we recommend you to migrate to this new SDK. You
9086
9187Please refer to [ CONTRIBUTING.md] ( CONTRIBUTING.md ) .
9288
93- ## Getting help/support
89+ ## Getting Help/Support
9490
9591If you need help setting up or configuring the Python SDK (or anything else in the Sentry universe) please head over to the [ Sentry Community on Discord] ( https://discord.com/invite/Ww9hbqr ) . There is a ton of great people in our Discord community ready to help you!
9692
0 commit comments