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
commit
rollback
- Capturing explain plans for slow database queries
pip install newrelic_asyncpg
Append in your newrelic.ini
[import-hook:asyncpg]
enabled = true
execute = newrelic_asyncpg:instrument