The Python agent now provides out-of-the-box monitoring support for Uvicorn, Starlette, and FastAPI ASGI applications.
Uvicorn Server, Starlette and FastAPI
Get full visibility into your ASGI applications that use Uvicorn Server, Starlette framework or the FastAPI framework. This includes timing of ASGI requests and ensuring those requests are trackable using distributed tracing. It also handles error reporting and reporting of KPIs such as response time and throughput.
And that’s not all. We have seen an increasing demand from ASGI users to have asyncpg support, so we built that as well! This support extracts Postgres database query timing, the statement, the database, and the associated host, providing you with complete visibility into your Postgres queries.
Use the ASGI API to monitor web transactions for your ASGI applications not using Uvicorn or Starlette. To create meaningful transactions, when using this API we encourage you to use newrelic.agent.set_transaction_name API.