newrelic-python-agent icon indicating copy to clipboard operation
newrelic-python-agent copied to clipboard

mysql instrumentation in async contexts

Open nburns opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I'd like to be able to instrument database calls with an async mysql python module.

Feature Description

A clear and concise description of the feature you want or need. Support for aiomysql or a recommendation of a supported async mysql database connector for sqlalchemy.

Describe Alternatives

A clear and concise description of any alternative solutions or features you've considered. Are there examples you could link us to? Couldn't really find any alternatives, I was surprised that there were no hooks defined for the aiomysql package because it seems pretty popular for async python.

Additional context

Add any other context here. We're implementing graphql with async parallel resolution and will lose the ability to monitor sql timing/queries without agent support for aiomysql or another async mysql connector for sqlalchemy.

Priority

Please help us better understand this feature request by choosing a priority from the following options: Must Have

nburns avatar Oct 26 '23 17:10 nburns