Skip to content

KorsaR-ZN/python-newrelic-asyncpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewRelic extensions / asyncpg

Unofficial extension for the NewRelic Python Agent for support asyncpg database adapter

Features

  • 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

Installation

pip install newrelic_asyncpg

Append in your newrelic.ini

[import-hook:asyncpg]
enabled = true
execute = newrelic_asyncpg:instrument