Notes
This release of the Python agent adds support for new Redis functions, convert all internal paths from os.path
to pathlib.Path
, and fixes an issue with JSON encoding PosixPaths.
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 new Redis functions
- Add instrumentation for new Redis functions.
Convert all internal paths from
os.path
topathlib.Path
- Convert all internal usage of string based paths and
os.path
topathlib.Path
in preparation to support Windows paths.
- Convert all internal usage of string based paths and
Bug fixes
Fix issue with JSON encoding PosixPath
- Some users were experiencing issues with JSON encoding
PosixPath
configuration settings. This issue has been fixed.
- Some users were experiencing issues with JSON encoding
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 エージェントでは、 oracledbのサポートが追加され、Kombu および Kafka でMessageTransaction
オブジェクトに属性destination_name
がないバグが修正され、AWS での使用率メタデータの消失が修正されました。
Python パッケージ インデックス経由でeasy_install/pip/distribute
を使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。
新機能
oracledbのサポートを追加
- oracledbの計装を追加します。
バグ修正
「
MessageTransaction
オブジェクトに属性destination_name
がありません」というバグを修正しました- MessageBroker モジュールの、シリアル化メソッドが
MessageTransaction
のdestination_name
プロパティを検索していたが、それが存在しないというバグを修正しました。
- MessageBroker モジュールの、シリアル化メソッドが
AWS と K8s を一緒に実行する際における AWS 使用率メタデータの問題を修正
- AWS EC2インスタンス上で動作するK8s Podの権限設定により、初めて使用状況メタデータを取得できるようになります。 ただし、アプリケーションが継続的に実行されたままになっていると、エージェントは再接続され、使用率メタデータの読み込みに失敗します。このような場合、使用率メタデータはエージェント インスタンスごとにキャッシュされ、取得できるようになります。
サポートステートメント
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。
メモ
このリリースの Python エージェントでは、Azure Function Appsとprotobuf v6 のサポートが追加されました。
Python パッケージ インデックス経由でeasy_install/pip/distribute
を使用してエージェントをインストールするか、 New Relic ダウンロード サイトから直接ダウンロードします。
新機能
Azure Function Apps のサポートを追加
- HTTPTrigger タイプのAzure Function Appsのサポートを追加します。
バグ修正
protobuf v6 サポートを有効にするために pb2 ファイルを追加します
- 以前は、 protobuf v6 のサポートが不足していたため、いくつかの Google パッケージは New Relic と互換性がありませんでした。これは解決されました。
サポートステートメント
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日については、New Relic Python エージェントのEOL ポリシーを参照してください。
メモ
このリリースの 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 ポリシーを参照してください。
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 togenerate_content
for single text-only inputs and calls tosend_message
for multi-turn conversations.
- Adds support for google-genai. The agent will automatically instrument
Instrument new AWS Kinesis methods
- Adds botocore instrumentation to support new AWS Kinesis methods including
tag_resource
,untag_resource
, andlist_tags_for_resource
.
- Adds botocore instrumentation to support new AWS Kinesis methods including
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.