• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

Python agent release notesRSS

October 8
Python agent v14.0.0

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_strategy method is now supported in Kinesis.

Security Updates

  • The internal urllib3 package has been updated to 2.8.0 to resolve all current CVEs in urllib3.

    • 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 httplib instrumentation could produce duplicate headers for traceparent, resulting in a malformed value.
  • setup.py install file now works for all supported Python versions

    • If a user wanted to use the setup.py file directly to install the Python Agent on Python 3.12 and above, they would come across an ImportError. This is because distutils has been deprecated since Python 3.10 and entirely removed from the standard library in Python 3.12.

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.

September 22
Python agent v13.6.1

メモ

Pythonエージェントの今回のリリースでは、botocore(SigV4)の署名付きヘッダーに関する問題が修正されています。

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

バグ

  • botocore(SigV4)の署名付きヘッダーに関する問題を修正しました。

    • ヘッダーが重複して送信されるのを防ぐため、botocoreのディストリビューティッド(分散)トレーシングヘッダーに対する以前の変更は元に戻されました。
    • 以前は、他のトレーシングライブラリによって生成されたディストリビューティッド(分散)トレーシングヘッダーが、ヘッダーの署名によりbotocoreの計装に問題を引き起こす可能性がありました。この問題は、botocore内でこれらのヘッダーの署名を無効にすることで修正されました。

サポートステートメント

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

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

September 21
Python agent v13.6.0

メモ

Pythonエージェントの今回のリリースでは、OpenSearch、Microsoft Azure SQL、新しいKinesisメソッド、および新しいbrowser_monitoring.version設定のサポートが追加されました。さらに、Anthropic、MCP、およびGoogle ADKの計装に改善が加えられました。このリリースでは、botocore(SigV4)の署名付きヘッダーとGeminiツールの解析に関する問題も修正されています。

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

新機能

  • opensearch-pyの新しい計装

    • 公式のOpenSearchデータベースコネクタに計装が追加されました。
  • mssql-python向けの新しい計装

    • Microsoft Azure SQLの計装が追加されました。
  • 新しいKinesisメソッドの新しい計装

    • Kinesisで以下のメソッドがサポートされるようになりました:

      • create_channel
      • delete_channel
      • describe_channel
      • list_channels
      • update_channel
  • の新しい設定 browser_monitoring.version

改善された機能

  • anthropicのサポートが改善されました。

    • バージョン1.0.0以上のAnthropic SDKにおけるリクエストパラメーターの解析が改善されました。
    • Messages.with_raw_response.create経由のレスポンスの新しい解析により、LangChainとの互換性が向上しました。
  • mcp v2.0.0以降をサポートしました。

    • mcp v2.0.0で行われた大規模なリファクタリングに伴い、計装が更新され、再び期待通りに動作するはずです。
  • Google ADK v2.9.0以上のサポート。

    • バージョン2.9.0以上のGoogle ADK向けに計装が更新されました。

バグ

  • botocore(SigV4)の署名付きヘッダーに関する問題を修正しました。

    • 以前は、他のトレーシングライブラリによって生成されたディストリビューティッド(分散)トレーシングのヘッダーが、ヘッダーの署名が原因でbotocoreの計装に問題を引き起こす可能性がありました。この問題は修正され、ディストリビューティッド(分散)トレーシングのヘッダーは署名前に変更されるようになりました。
  • Geminiツールの解析の修正

    • 以前は、Geminiで作成されたツールのいくつかのインスタンスが解析に失敗し、エラーを出さずに失敗して、その特定のリクエストに対するレスポンスが返されないことがありました。この問題は修正されました。

サポートステートメント

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

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

August 20
Python agent v13.5.0

メモ

Pythonエージェントのこのリリースでは、Azure CosmosDBのサポートを追加し、HTTPX2および新しいLangChain/LangGraphストリーミングイベントAPIの計装を追加し、新しいOpenTelemetryデータベースセマンティック規則のサポートを追加し、不完全なパッケージレポート、パッケージ検索のパフォーマンスの低下、MySQLデータベース名のレポートのバグを含むいくつかの問題を解決しています。

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

新機能

  • Azure CosmosDBのサポートを追加しました

    • Pythonエージェントは、Azure Cosmos DBクライアント操作をインストゥルメントするようになり、azure-cosmos SDKを通じて実行されるデータベース、コンテナ、およびユーザー操作のデータストアメトリクスとトレースをレポートします。
  • HTTPX2のサポートを追加しました

    • Pythonエージェントは、Pydanticチームによって積極的にメンテナンスされているHTTPX2のフォークであるHTTPXをサポートするようになりました。HTTPX2の外部呼び出しの計装は、同期クライアントと非同期クライアントの両方に対するエージェントの既存のHTTPXサポートを反映しています。
  • LangChain/LangGraphストリーミングイベントの計装を追加しました

    • LangChainエージェントのastream_events計装サポートを追加しました。
    • LangChain/LangGraph v3のstream_events/astream_events計装を追加し、GraphRunStreamオブジェクトの反復処理をカバーしました。
  • 新しいOpenTelemetryデータベースセマンティック規則のサポートを追加しました

    • PythonエージェントをOpenTelemetryと並行して実行する場合(ハイブリッドエージェントモード)、エージェントはレガシーおよび新しいOpenTelemetryデータベーススパン属性名(db.name/db.namespace、db.statement/db.query.text、db.mongodb.collection/db.collection.name)の両方を読み取るようになったため、OpenTelemetry計装ライブラリが出力するセマンティック規則のバージョンに関係なく、データベーストレースが引き続き正しく機能します。

バグ

  • New Relicへの不完全なパッケージレポートを修正しました

    • 以前は、モジュールの検出に遅い収集サイクル中に割り当てられた固定時間枠よりも長くかかり、エージェントの再起動後にパッケージリストが更新されなかった場合、PythonエージェントはNew Relicにレポートされる環境データから一部のインストール済みパッケージを除外する可能性がありました。パッケージのキャプチャは速い収集サイクル中に実行されるようになり、エージェントのシャットダウン/再起動時に完全に再キャプチャされるため、レポートされるパッケージリストは完全になります。
  • パッケージバージョン検索のオーバーヘッドを削減しました

    • 以前は、インストールされているパッケージのバージョンを検索する際、検索のたびにすべてのパッケージについてファイルシステムを再スキャンしていたため、エージェントの初期化時にインストールされているパッケージの数に比例してO(n^2)のタイムペナルティが発生していました。このオーバーヘッドを回避するため、importlib.metadata.packages_distributions()の結果は最初の検索後にキャッシュされるようになりました。
  • 指定されたアプリケーションを適切にパススルーするようにget_linking_metadataを修正しました

    • 以前は、newrelic.agent.get_linking_metadata(application=...)を呼び出すとapplication引数が無視され、常にデフォルトのアプリケーションのリンクメタデータが返されていました。これは、複数のアプリケーションにレポートするプロセスに影響を与えていました。指定されたアプリケーションが正しくパススルーされるようになりました。
    • 貢献してくださったckarnellに感謝します!
  • databaseキーワード引数を使用した場合のMySQLデータベース名のレポートを修正しました

    • 以前は、mysql-connector-pythonの接続引数からデータベース名を解析する際、エージェントはレガシーなdbキーワード引数のみをチェックしていたため、モダンなdatabaseキーワード引数を使用して行われた接続では、データストアメトリクスにデータベース名がレポートされませんでした。エージェントは最初にdatabaseをチェックし、dbにフォールバックするようになりました。
  • LangGraph v1.1+のGraphOutput値にアクセスする際の警告を修正しました

    • 以前は、LangGraph v1.1+の計装は、非推奨のアイテムアクセス構文を使用してGraphOutputの戻り値にアクセスしていたため、非推奨の警告がトリガーされていました。エージェントはGraphOutput.valueを直接読み取るようになりました。

サポートステートメント

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

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

July 30
Python agent v13.4.0

メモ

Pythonエージェントのこのリリースでは、Redis v8.10.0およびredis-py v8.1.0で導入されたRedisコマンドのサポートが追加されています。このリリースでは、MCPツールの使用時にLangChainでLlmChatCompletionイベントが欠落する問題も解決されています。

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

新機能

  • Redis v8.10.0 および redis-py v8.1.0 で導入された Redis コマンドを追加しました

    • Pythonエージェントは、Redisで最近追加された次のコマンドをサポートするようになりました。

      • himport_discard_all
      • himport_discard
      • himport_prepare
      • lmovem
      • nrange
      • nrevrange
      • querylabels
      • read
      • sdiffcard
      • sunioncard
      • aliaslist

バグ

  • MCPツールを使用する際にGeminiでLlmChatCompletionイベントが欠落する問題を修正しました。

    • 以前は、応答フォーマットがデフォルトのJSONではない場合、 LangChain LlmChatCompletionMessagesエージェントでツールを使用すると、LlmChatCompletionSummary Gemini で および イベントが欠落していました。これは解決されました。
  • LangChainおよびAgentフレームワークでトレースキャッシュIDにスワップしました

    • コンテキスト伝搬の目的で、LangChainおよびAgentフレームワークの計装をスワップし、参照属性に完全なトレースではなくトレースキャッシュIDのみを保存するようにしました。これは、リークが発生した場合にこれらのオブジェクトが予期せずシリアル化されるのを防ぐためです。トレースには数MBのデータが含まれる可能性がありますが、IDははるかに小さなオブジェクトです。

サポートステートメント

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

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

July 23
Python agent v13.3.0

Notes

This release of the Python agent adds support for AI Monitoring server-side configuration, adds context propagation for Bedrock invocations made through Microsoft Agent Framework, fixes duplicate tool entities for LangChain tools backed by a remote MCP server, reduces race condition risk in the garbage collection data sampler, fixes inconsistent transaction names when using Wagtail, and removes byte encoding from outbound Kombu distributed tracing headers.

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.

New Features

  • Add support for AI Monitoring server-side configuration

    • The Python agent now supports server-side configuration of AI Monitoring. When configured, the server-side ai_monitoring.enabled, ai_monitoring.record_content.enabled, and ai_monitoring.streaming.enabled values take precedence over the local settings.
  • Add context propagation for Bedrock invocations through Agent Framework

    • Propagates trace context across thread boundaries created by Microsoft Agent Framework's Bedrock integration. This allows the agent's existing botocore instrumentation to capture LLM events for Bedrock invocations made through Agent Framework. This does not add full instrumentation of Agent Framework itself.

Bugs

  • Fix inconsistent transaction names when using Wagtail

    • Previously, transaction names for apps built on Wagtail were inconsistent and could be the same for different page views. This has been fixed.
  • Fix duplicate tool entities for LangChain tools backed by a remote MCP server

    • Previously, when a LangChain tool was backed by a remote MCP server that was also separately instrumented, duplicate tool entities appeared in the UI. This has been fixed by gating subcomponent attributes off of LangChain tools when a known remote tool is detected.
  • Fix missing User Input field for LangChain and LangGraph MCP tool calls

    • Previously, when LangChain or LangGraph used tools from an MCP server, the User Input field could be missing from AI monitoring data if the input message wasn't the last message in the streamed sequence. This has been fixed, and the agent now correctly extracts the input message in these cases.
  • Reduce race condition risk in the garbage collection data sampler

    • Previously, the agent always called gc.get_objects() to sample garbage collector object counts, regardless of configuration. This has been changed so gc.get_objects() is only called when top_object_count_limit is configured above 0, avoiding unnecessary heap iteration for customers who don't track object types collected by the garbage collector.
  • Remove byte encoding from outbound Kombu distributed tracing headers

    • Previously, distributed tracing headers added by Kombu instrumentation were byte-encoded, which broke transports that serialize payloads with the standard library json module (for example, SQLAlchemy-backed transports). The byte encoding has been removed so these transports work correctly.

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.

Copyright © 2026 New Relic株式会社。

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