# python-http-in-sql-transactions **Repository Path**: mirrors_getsentry/python-http-in-sql-transactions ## Basic Information - **Project Name**: python-http-in-sql-transactions - **Description**: Checking span instrumentation for database transactions in SQL and MongoDB frameworks supported by the Sentry Python SDK. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-26 - **Last Updated**: 2026-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Checking span instrumentation for database transactions in SQL and MongoDB frameworks supported by the Sentry Python SDK. ## Creating environment ``` python3 -m venv venv source venv/bin/activate pip install -e . ``` ## Setting up pymongo ``` docker run --rm -p 27017:27017 mongo pymongo ``` ## Setting up asyncpg ``` docker run --rm -e POSTGRES_PASSWORD=sentry -p 5432:5432 postgres asyncpg ``` ## Setting up sqlalchemy ``` docker run --rm -e POSTGRES_PASSWORD=sentry -p 5432:5432 postgres sqlalchemy ``` ## Setting up django ``` PYTHONPATH=. python python_http_in_sql_transactions/django_sample/manage.py runserver ```