• /
  • EnglishEspañolFrançais日本語한국어Português
  • Se connecterDémarrer

Python agent release notesRSS

August 23, 2023
Python agent v8.11.0

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.

August 17, 2023
Python agent v8.10.1

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.

August 10, 2023
Python agent v8.10.0

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 to throw() 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.

July 27, 2023
Python agent v8.9.0

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_transaction calls from agent The drop_transaction function 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.

June 26, 2023
Python agent v8.8.1

Notes

This release of the Python agent fixes a bug in package reporting and adds support for redis 4.6.0 and loguru 0.7.0.

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 redis 4.6.0 Adds instrumentation support for new waitaof method.

  • Add support for loguru 0.7.0 Adds support for loguru v0.7.0.

Bug fixes

  • Fix reporting of locally scoped packages Previously, locally scoped Python packages (such as those installed into user scope) were not reported on agent connect. This has been fixed.

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.

March 30, 2023
Python agent v8.8.0

Notes

This release of the Python agent adds support for two new errors inbox features: error fingerprinting and user tracking. It also includes 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.

New features

  • New Errors Inbox features

User tracking: You can now see the number of users impacted by an error group. Identify the end user with the set_user_id method.

Error fingerprinting: Are your error occurrences grouped poorly? Set your own error fingerprint via a callback function.

Bug fixes

  • Guard GraphQL settings lookup In v8.7.1, a bug was introduced in GraphQL instrumentation when not running within a transaction. This crash has been addressed.

  • Fix Redis instance information Redis v4.5.2 included a change that broke detection for socket based redis instance information. The agent now correctly detects socket paths again.

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.12.0.140. More information can be found in the EOL Policy Page.

March 20, 2023
Python agent v8.7.1

Notes

This release of the Python agent adds support for a new config option to capture GraphQL introspection query transactions.

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 a new config option to capture GraphQL introspection query transactions.

    Added new config setting instrumentation.graphql.capture_introspection_queries and corresponding environment variable NEW_RELIC_INSTRUMENTATION_GRAPHQL_CAPTURE_INTROSPECTION_QUERIES to control capturing of GraphQL introspection transactions. Defaults to false which retains previous behavior of ignoring transactions with introspection queries.

Bug fixes

  • Fix introspection query recognition for GraphQL.

    Fix introspection query recognition for GraphQL to allow introspection fields to be queried alongside real fields in traces.

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.12.0.140. Find more information in the EOL Policy Page.

February 16, 2023
Python agent v8.7.0

Notes

This release of the Python agent adds support for batching and compression.

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 batching and compression of infinite tracing

    Adds configuration options infinite_tracing.compression and infinite_tracing.batching and sets both to on by default.

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.8.0.136. Find more information in the EOL Policy Page.

February 9, 2023
Python agent v8.6.0

Notes

This release of the Python agent adds support for elasticsearch 8, redis.asyncio, and exposes apdexPerfZone.

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 eleasicsearch 8 Add instrumentation support for elasticsearch version 8.

  • Add support for redis v4.4.1 and v4.4.2 Add support for new methods in the latest versions of redis.

  • Add support for redis.asyncio aioredis is included to redis-py since version 4.2.0rc1 as redis.asyncio. Support this new location. Thank you @pauk-slon for your contribution!

  • Add apdexPerfZone to web transaction event attribute intrinsics Expose nr.apdexPerfZone as apdexPerfZone in Web transaction event attribute intrinsics.

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.6.0.135. More information can be found in the EOL Policy Page.

Droits d'auteur © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.