Notes
This release of the Python agent adds support for Azure Function Apps and protobuf v6.
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
Adds support for Azure Function Apps
- Adds support for Azure Function Apps for HTTPTrigger types.
Bug fixes
Adds pb2 files to enable protobuf v6 support
- Previously, several google packages were not compatible with New Relic due to the lack of protobuf v6 support. This has now been resolved.
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 エージェントでは、モデル コンテキスト プロトコル (MCP) のサポートが追加され、 importlib.metadata
およびpkg_resources
のインポート ロジックが修正されました。
Python パッケージ インデックス経由でeasy_install/pip/distribute
を使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。
新機能
モデルコンテキストプロトコル (MCP) のサポートを追加
バグ修正
importlib.metadata
のインポートロジックを修正し、pkg_resources
importlib.metadata
のインポートに関するロジックを更新して、pkg_resources.*
にフォールバックする前にimportlib_metadata
バックポートも使用するようにします。これにより、sys.version
条件の使用も削除され、importlib.metadata
が使用可能であるにもかかわらず Python 3.9 でpkg_resources
しか使用できなかった問題も修正されます。
サポートステートメント
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。
メモ
Pythonエージェントのこのリリースでは、 Redis v6.0.0 のサポートが追加され、 OpenTelemetry-protoパッケージとの競合が修正されています。
Python パッケージ インデックス経由でeasy_install/pip/distribute
を使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。
新機能
Redis v6.0.0のサポートを追加
- Redis v6.0.0 で導入されたすべてのクライアント メソッドのサポートを追加します。
バグ修正
OpenTelemetry-proto パッケージとの競合を修正
- エージェントのOpenTelemetry-protoの内部コピーが、OpenTelemetry-proto に依存する他のパッケージ (ChromaDB など) と競合する問題を修正しました。 これは OpenTelemetry によって別のパッケージとして扱われ、競合が防止されるはずです。
サポートステートメント
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。
メモ
Pythonエージェントのこのリリースでは、Google 生成AI SDK およびインストゥルメントで行われた新しい Kinesis メソッドを介して Google Gemini のサポートが追加されています。
Python パッケージ インデックス経由でeasy_install/pip/distribute
を使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。
新機能
Google 生成AI SDK 経由で Google Gemini のサポートを追加
- google-生成AIのサポートを追加します。 エージェントは、同期および非同期embeddingsの計装
embed_content
呼び出しを自動的に行います。 エージェントは、ストリーミング以外の場合のテキスト入力に対して、同期および非同期のテキスト生成もサポートするようになりました。これには、単一のテキストのみの入力のためのgenerate_content
への呼び出しと、複数ターンの会話のためのsend_message
への呼び出しが含まれます。
- google-生成AIのサポートを追加します。 エージェントは、同期および非同期embeddingsの計装
新しいAWS Kinesis メソッドの計装
- botocore計装を追加して、
tag_resource
、untag_resource
、list_tags_for_resource
などの新しいAWS Kinesisメソッドをサポートします。
- botocore計装を追加して、
サポートステートメント
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。
メモ
Pythonエージェントのこのリリースでは、 async elasticsearchのサポートが追加され、graphql 設定解析の問題が修正され、 Kombu計装のバグが修正され、Kombu 計装が再度有効になります。
Python パッケージ インデックス経由でeasy_install/pip/distribute
を使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。
新機能
elasticsearch の非同期サポートを追加
- 非同期elasticsearchのサポートを追加します。貢献してくれたfagnerzulinに感謝します!
バグ修正
graphql config 設定の解析を追加
- 以前は、設定ファイルで設定
instrumentation.graphql.capture_introspection_queries
が設定されていた場合、この設定は有効になりませんでした。これは修正されました。
- 以前は、設定ファイルで設定
Sentry で実行中に Kombu がクラッシュする問題を修正
inspect
モジュールからTypeError
が発生した場合にKombu計算で発生するクラッシュを修正しました。 このバグは、New Relic と Sentry 間のラッピングの競合が原因でした。昆布計装も再度有効化されました。
サポートステートメント
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。
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 theinspect
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.
- Existing Kombu instrumentation in the agent is crashing with a
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.