Notes
This release of the Python agent adds utilization for Azure App Services, instrumentation for Azure Service Bus, support for a new Kinesis method, and support for Google ADK for v2.10.0 and above. This release also fixes an issue in httplib where distributed trace headers were duplicated as well as the setup.py installation file.
Install the agent using easy_install/pip/distribute via the Python Package Index, using conda via the Conda-Forge Package Index, or download it directly from the New Relic download site.
Removed Features
- Removed support for Python 3.9
* Python 3.9 reached End-of-Life on October 31, 2025 and is no longer supported by the agent. Please consider upgrading your application to a supported version of Python in order to continue to receive updates to the Python Agent.
New Features
Utilization for Azure App Service
- Utilization for Azure App Service was added to enable entity relationship mapping.
- This also adds a new setting,
utilization.detect_azureappservice
New instrumentation for Azure Service Bus
- Instrumentation was added for Microsoft Azure Service Bus.
New instrumentation for new Kinesis method
- The
update_stream_record_distribution_strategymethod is now supported in Kinesis.
- The
Security Updates
The internal urllib3 package has been updated to
2.8.0to resolve all current CVEs inurllib3.- This resolves all known CVEs in the agent to date.
Enhanced Features
Support for Google ADK v2.10.0 and above.
- Instrumentation has been updated for Google ADK on versions 2.10.0 and above.
Bugs
Duplicated distributed tracing headers in httplib
- Fixed issues where
httplibinstrumentation could produce duplicate headers fortraceparent, resulting in a malformed value.
- Fixed issues where
setup.pyinstall file now works for all supported Python versions- If a user wanted to use the
setup.pyfile directly to install the Python Agent on Python 3.12 and above, they would come across anImportError. This is becausedistutilshas been deprecated since Python 3.10 and entirely removed from the standard library in Python 3.12.
- If a user wanted to use the
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.