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

Python agent release notesRSS

May 1
Python agent v10.11.0

Notes

This release of the Python agent adds support for Google Gemini via the Google Generative AI SDK and instruments new Kinesis methods.

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 Google Gemini via Google Generative AI SDK

    • Adds support for google-genai. The agent will automatically instrument embed_content calls for synchronous and asynchronous embeddings. The agent also now supports synchronous and asynchronous text generations for text inputs in non-streaming cases. This includes calls made to generate_content for single text-only inputs and calls to send_message for multi-turn conversations.
  • Instrument new AWS Kinesis methods

    • Adds botocore instrumentation to support new AWS Kinesis methods including tag_resource, untag_resource, and list_tags_for_resource.

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.

April 24
Python agent v10.10.0

Notes

This release of the Python agent adds support for async elasticsearch, fixes a graphql configuration parsing issue, fixes a bug in the Kombu instrumentation and re-enables the 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.

New features

Bug fixes

  • Add parsing of graphql config setting

    • Previously, when the setting instrumentation.graphql.capture_introspection_queries was set in the config file, this setting did not take effect. This has been fixed.
  • Fix crash in Kombu when running with Sentry

    • Fixes a crash in Kombu instrumentation where a TypeError was raised from the inspect module. This bug was due to a conflict in wrapping between New Relic and Sentry. The Kombu instrumentation has also been re-enabled.

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.

Python agent v10.10.0

メモ

Pythonエージェントのこのリリースでは、 async elasticsearchのサポートが追加され、graphql 設定解析の問題が修正され、 Kombu計装のバグが修正され、Kombu 計装が再度有効になります。

Python パッケージ インデックス経由でeasy_install/pip/distributeを使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。

新機能

  • elasticsearch の非同期サポートを追加

バグ修正

  • graphql config 設定の解析を追加

    • 以前は、設定ファイルで設定instrumentation.graphql.capture_introspection_queriesが設定されていた場合、この設定は有効になりませんでした。これは修正されました。
  • Sentry で実行中に Kombu がクラッシュする問題を修正

    • inspectモジュールからTypeErrorが発生した場合にKombu計算で発生するクラッシュを修正しました。 このバグは、New Relic と Sentry 間のラッピングの競合が原因でした。昆布計装も再度有効化されました。

サポートステートメント

最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。

エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。

April 11
Python agent v10.9.0

Notes

This release of the Python agent adds OpenTelemetry compatible datastore span attribute names, fixes a bug in LangChain instrumentation, and temporarily disables 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.

New features

  • Add OpenTelemetry compatible datastore span attributes

    • The datastore span attributes are now more consistent with OpenTelemetry naming conventions

Bug fixes

  • Fix LangChain instrumentation for string response types

    • Previously, when LangChain returned string-type responses, the agent only captured the first character of the string. This has been corrected.
  • Disable Kombu instrumentation

    • Existing Kombu instrumentation in the agent is crashing with a TypeError being raised from the inspect module. This instrumentation has been temporarily disabled and will be re-enabled in a future release once the root cause of the crash is identified and patched.

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.

Python agent v10.9.0

メモ

Pythonエージェントのこのリリースでは、 OpenTelemetry互換のデータストア スパン プロパティ名が追加され、 LangChain計装のバグが修正され、 Kombu計装が一時的に無効になります。

Python パッケージ インデックス経由でeasy_install/pip/distributeを使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。

新機能

  • OpenTelemetry互換のデータストアスパン属性を追加する

    • データストアのスパン属性は、 OpenTelemetry の命名規則とより一貫性を持つようになりました。

バグ修正

  • 文字列応答タイプのLangChain計装を修正

    • 以前は、 LangChain が文字列型の応答を返す場合、エージェントは文字列の最初の文字のみをキャプチャしていました。これは修正されました。
  • Kombu 計装を無効にする

    • エージェント内の既存のKombu計装は、 inspectモジュールから発生したTypeErrorによりクラッシュします。 この機能は一時的に無効になっていますが、クラッシュの根本原因が特定され修正されたら、将来のリリースで再度有効になります。

サポートステートメント

最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。

エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。

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.

January 29
Python agent v10.5.0

Notes

This release of the Python agent adds Agent Control health reporting, instrumentation for cassandra-driver, support for new a langchain vectorstore, improves NewRelicContextFormatter stack traces logging, fixes compatibility issues with the structlog ProcessorFormatter, and checks for ExceptionMiddleware removal in starlette.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 Agent Control health reporting

    • Adds agent health reporting capability to support the upcoming release of New Relic Fleet Control.
  • Add support for cassandra-driver

  • Add support for new langchain vectorstore

    • Adds instrumentation for TablestoreVectorStore in langchain.
  • Enhance stack traces logged by NewRelicContextFormatter

    • The NewRelicContextFormatter now reports exception causes when logging stack traces. Thanks @sweco for your contribution!

Bug fixes

  • Fix compatibility issues with structlog's ProcessorFormatter

    • Fix was added for the case where the structlog ProcessorFormatter is used as a logging.Formatter for both logging and structlog log entries.
  • Check for ExceptionMiddleware removal in starlette.exceptions

    • After starlette v0.45.0 the import proxy for ExceptionMiddleware was removed from starlette.exceptions (and now only resides in starlette.middleware.exceptions).

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.