Unofficial extension for the NewRelic Python Agent for support asyncpg database adapter
- Timing of database queries
- Capturing SQL for the database query
- Capturing a stack trace for long database queries
not supported:
- Capturing trace for database query operations
commitrollback - Capturing explain plans for slow database queries
pip install newrelic_asyncpgAppend in your newrelic.ini
[import-hook:asyncpg]
enabled = true
execute = newrelic_asyncpg:instrument