scout_apm_python icon indicating copy to clipboard operation
scout_apm_python copied to clipboard

Investigate support for FastAPI and FastAPI SQL Alchemy

Open jrothrock opened this issue 4 years ago • 1 comments

From initial appearance, it looks like our Starlette integration works pretty well for FastAPI, but it doesn't appear that SQL timings are being collected when using the FastAPI SQL Alchemy library. Everything gets aggregated under 'View'

jrothrock avatar Jan 28 '21 16:01 jrothrock

We don't collect any SQL timings in the async world. It's a bit harder and from what I recall the core agent and Python internals' data models aren't ready for parallel spans, something that's pretty much guaranteed with async apps.

adamchainz avatar Jan 28 '21 16:01 adamchainz