Notes
This release of the Python agent adds a new configuration option that allows users to disable capturing package and version information at agent startup.
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
- Add new configuration option
package_reporting.enabled. This option allows users to disable capturing package and version information at agent startup. On some applications with a high number of packages some users were seeing a spike in CPU usage. Disabling this setting provides a workaround for that issue.
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.
Notes
This release of the Python agent fixes a regression in package version performance that was introduced in 8.10.1.
Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.
Bug fixes
- Fix package version performance regression Addressed issue that was introduced in 8.10.1 where there is increased CPU usage and time on startup and when using certain libraries at runtime.
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.
Notes
This release of the Python agent fixes generator instrumentation issue with Redis and adds caching to package versions to address some performance issues.
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
- Add caching to
get_package_versionto address performance issues
Bug fixes
- Fix generator and async generator instrumentation issue in
Redis.asyncio
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.
Notes
This release of the Python agent adds support for sklearn and redis.asyncio connections.
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
Add support for sklearn The Python agent now supports monitoring for machine learning models created with sklearn. Check out our documentation for details on how to view and query for your prediction events and ML related metrics directly in the New Relic user interface. Machine learning instrumentation will be disabled by default in this release. To enable it, visit our configuration page for further information. This release also introduces two new APIs to support customization of machine learning monitoring: wrap_mlmodel and record_ml_event.
Add instrumentation for
redis.asyncio.ConnectionAdd instrumentation support for connections initiated from theredis.asynciomodule
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.
Notes
This release of the Python agent adds support for async graphql-core and drops support for graphql-core 2.
Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.
Framework Support
- Drop support for graphql-core 2 Remove support for graphql-core 2.0.
Enhancements
- Add support for async graphql-core Add support for async graphql-core 3.0 and above.
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.
Notes
This release of the Python agent adds support for structlog and some bug fixes.
Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.
Enhancements
- Add support for structlog Adds instrumentation support for structlog.
Bug fixes
Fix certificate fallback logic Fixed the fallback logic for the certificate bundle such that it only uses the builtin bundle when both the cafile AND capath are None.
Fix missing database metric Fixed an issue where certain databases were not recording the
Datastore/instance/<db>/<host>/<port>metric and so the database was not showing up in the service map.
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.
Remarques
Cette mise à jour de l'agent Python corrige un problème avec MetricNormalizationRules, corrige un DeprecationWarning dans la détection de la version package et ajoute la prise en charge des nouvelles commandes introduites dans Redis v5.
Installez l'agent à l'aide de easy_install/pip/distribute via l' index du packagePython ou téléchargez-le directement depuis le site de téléchargement de New Relic.
Améliorations
- Ajout de la prise en charge des nouvelles commandes introduites dans Redis v5 Ajout d'une prise en charge complète de l'instrumentation pour Redis v5.
Débogage
Correction d'un plantage dans MetricNormalizationRules Correction d'un plantage lors de l'utilisation de MetricNormalizationRules côté client pour ignorer les métriques (définies via NerdGraph et disponibles sous une option de fonctionnalité). Il convient désormais d'ignorer les unités métriques.
Correction de DeprecationWarning lors de la détection de la version package pour Python 3.10+ Correction de DeprecationWarning émis par la détection de la version package utilisée en interne pour Python 3.10+. Lorsque importlib.metadata est disponible, il est préférable de l'utiliser pour éviter de vérifier l'attribut de version obsolète des modules. (Merci à @renanivo pour sa contribution !)
Déclaration de soutien
Nous vous recommandons de mettre à jour vers la dernière version de l'agent dès qu'elle est disponible. Si vous ne pouvez pas effectuer la mise à niveau vers la dernière version, mettez à jour vos agents vers une version datant de moins de 90 jours. En savoir plus sur la façon de tenir les agents informés.
Consultez la politique EOL de l'agent Python de New Relic pour obtenir des informations sur la sortie de l'agent et les dates de support.
Notes
This release of the Python agent drops support for Redis v3 and below and adds support for Google Cloud Firestore, async Redis, and fixes a crash that occurs when wrapping generators.
Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.
Deprecations
- Drop support for Redis v3 and below As of v8.10.0, Redis v3 and below are outside New Relic's supportability window and therefore no longer supported. Because Redis v4 and above no longer support Python 2.7, this means Python 2.7 support has been dropped from Redis as well.
Enhancements
Add support for Firestore Adds instrumentation support for Google Cloud Firestore.
Add support to Redis Async Adds instrumentation support for Redis' async features. Thanks, ahmedhr and bc291 for your contribution!
Automatic wrapping for async generators Existing tracing decorator APIs now support async generators out of the box.
Bug fixes
- Fixed a crash when consecutive calls to
throw()on wrapped generators Previously consecutive calls tothrow()would raise an exception rather than inject the exception into the wrapped generator.
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.
Notes
This release of the Python agent adds support for RedisCluster.
Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.
Enhancements
- Add support for RedisCluster Adds instrumentation support for RedisCluster.
Bug fixes
Resilient Environment Settings Fixed a crash when using generalimport with the agent. Thanks for the contribution, aaeabdo!
Remove deprecated
drop_transactioncalls from agent Thedrop_transactionfunction had been removed from the agent but references to it still existed, so this version of the agent removes any remaining calls.Fix logic in serverless distributed tracing to work by default
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.