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

Python agent release notesRSS

May 1
Python agent v10.11.0

Remarques

Cette sortie de l'agent Python ajoute la prise en charge de Google Gemini via le SDK génératif Google IA et instrumente de nouvelles méthodes Kinesis.

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.

Nouvelles fonctionnalités

  • Ajout du support de Google Gemini via le SDK génératif Google IA

  • Instrumenter de nouvelles méthodes AWS Kinesis

    • Ajoute l'instrumentation botocore pour prendre en charge les nouvelles méthodes AWS Kinesis , notamment tag_resource, untag_resource et list_tags_for_resource.

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.

April 24
Python agent v10.10.0

Remarques

Cette sortie de l'agent Python ajoute la prise en charge d'async elasticsearch, corrige un problème d'analyse configuration graphql, corrige un bug dans l'instrumentation Kombu et réactive l'instrumentation Kombu.

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.

Nouvelles fonctionnalités

Débogage

  • Ajouter l'analyse du paramètre de configuration graphql

    • Auparavant, lorsque le paramètre instrumentation.graphql.capture_introspection_queries était défini dans le fichier de configuration, ce paramètre n'avait pas d'effet. Cela a été corrigé.
  • Correction d'un crash dans Kombu lors de l'exécution avec Sentry

    • Corrige un crash dans l'instrumentation Kombu où un TypeError était généré à partir du module inspect. Ce bug était dû à un conflit d'encapsulation entre New Relic et Sentry. L'instrumentation Kombu a également été réactivée.

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.

April 11
Python agent v10.9.0

Remarques

Cette sortie de l'agent Python ajoute OpenTelemetry datastore des noms d'attributs d'étendue compatibles, corrige un bogue dans l'instrumentationLangChain et désactive temporairement l'instrumentation Kombu.

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.

Nouvelles fonctionnalités

  • Ajouter OpenTelemetry datastore un attribut d'étendue compatible

    • L'attribut span datastore est désormais plus cohérent avec les conventions de dénomination OpenTelemetry

Débogage

  • Correction de l'instrumentation LangChain pour les types de réponse de chaîne

    • Auparavant, lorsque LangChain renvoyait des réponses de type chaîne, l’agent capturait uniquement le premier caractère de la chaîne. Cela a été corrigé.
  • Désactiver l'instrumentation Kombu

    • L'instrumentation Kombu existante dans l'agent plante avec un TypeError généré par le module inspect . Cette instrumentation a été temporairement désactivée et sera réactivée lors d'une prochaine sortie une fois que la cause première du crash sera identifiée et corrigée.

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.

March 31
Python agent v10.8.1

Notes

This release of the Python agent fixes a bug with the latest Kombu instrumentation.

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 import error in Kombu instrumentation

    • A missing import in Kombu's instrumentation resulted in a crash for those using the instrumentation. This has now 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 27
Python agent v10.8.0

Notes

This release of the Python agent adds support for Kombu, mysqlclient, PyMySQL, and adds a few safeguards to prevent exceptions.

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 Kombu

    • Add support for producer and consumer message tracing in Kombu.
    • In the case where Celery and Kombu are used together, a transaction is produced for both Celery and Kombu message consumption and Kombu consumer tracing is turned off by default. It can be enabled via the instrumentation.kombu.consumer.enabled setting. A new setting instrumentation.kombu.ignored_exchanges to ignore certain exchanges was also added and by default it ignores the celeryev queue which is a monitoring queue.
  • Add support for mysqlclient (a MySQLdb fork for Python 3)

    • Instrumentation for the Python 2 library MySQLdb has been adapted to support the Python 3 fork mysqlclient.
  • Update instrumentation for PyMySQL for versions 1.0.3 and above

    • Instrumentation for PyMySQL has been updated for newer versions of the library, and versions below 1.0.3 are no longer supported.

Bug fixes

  • Safeguard startup of agent healthchecks against exceptions

    • Previously, the agent healthchecks could raise exceptions during startup, potentially resulting in agent crashes. This has been fixed.
  • Fix warning message around garbage collection runtime metrics sampler

    • Previously, a warning message was sometimes emitted which was related to the garbage collection runtime metrics sampler. 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 6
Python agent v10.7.0

Notes

This release of the Python agent adds support for asynchronous AWS Bedrock LLM calls in aioboto3, a fix for a segfault with greenlets, a fixed a crash in aiomysql instrumentation, and reformatted the codebase with Ruff.

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 asynchronous AWS Bedrock LLM calls

    • Adds instrumentation to support calls to invoke_model and invoke_model_with_response_stream made on aioboto3 clients

Bug fixes

  • Fix crash in aiomysql instrumentation

    • Previously, using aiomysql.sa (the included sqlalchemy engine) with the agent would result in a crash due to a missing __await__ method in the instrumentation. This has been corrected.
  • Fix segfaults with greenlets

    • Previously, a segfault occured when the maximum number of worker processes were called. This was due to a combination of using a weak reference for the agent's trace ID caching and greenlet's greenlet.getcurrent() retrieval function being called after the last greenlet has already been garbage collected. This fix allows the worker process to restart without the segfault occurring.

Changes

  • Reformatted entire codebase with Ruff

    • Switched to Ruff linter and reformatted the entire codebase.

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.

February 6
Python agent v10.6.0

Notes

This release of the Python agent adds entity linking for AWS Kinesis and AWS Firehose in boto3 and botocore.

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 entity linking attributes for AWS Kinesis and AWS Firehose when using boto3 and botocore.

    • Adds attributes linking distributed traces with AWS Kinesis and AWS Firehose entities in the New Relic UI.

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.

Droits d'auteur © 2025 New Relic Inc.

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