Notes
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.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
New features
-
Hypercorn Instrumentation
Instrumentation has been added for Hypercorn, an ASGI web server.
Bug fixes
-
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.
Support statement
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 5.0.2.126.