This release of the Python agent adds automatic instrumentation for Hypercorn, and includes bug fixes for Sanic v21.9+, memory sampler reporting, and database traces.
Instrumentation has been added for Hypercorn, an ASGI web server.
Fixes instrumentation for Sanic v21.9+
Instrumentation for newer versions of Sanic (>=21.9) have either not reported data or crashed due to an incompatibility with Sanic's internal metaprogramming.
Fixes incorrect PID reported by memory sampler
The PID reported by the memory sampler when sampling processes was incorrectly attributed to the process the agent was initialized from.
Fixes issue with database traces rarely causing crashes
In rare instances a database trace could result in a setting not being found, causing a crash.
New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. As of this release, the oldest supported version is 18.104.22.168.