Sentry Python SDK
JSON →Official Sentry error monitoring and performance Python SDK. Current version: 2.56.0 (Mar 2026). v2.0 (Jan 2024) removed the Hub class entirely — all Hub-based patterns are broken. Scope API replaced Hub. Integrations (Django, FastAPI, Celery, etc.) must be explicitly imported and passed. traces_sample_rate must be set to enable performance monitoring — omitting it means zero traces sent. enable_tracing deprecated in favor of traces_sample_rate.
Traffic · last 30 days ↑20% vs prev 7d
total hits 19
actors 6 distinct systems
last hit 1d ago GPTBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇸🇬 Singapore · TH
Resources
API endpoints
full doc /v1/registry/sentry-sdk
install /v1/registry/sentry-sdk/install
compatibility /v1/registry/sentry-sdk/compatibility