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

Python agent release notesRSS

October 19, 2023
Python agent v9.1.1

Notes

This release of the Python agent fixes generator instrumentation issue with Redis and adds caching to package versions to address some performance issues.

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 caching to get_package_version to address performance issues

Bug fixes

  • Fix generator and async generator instrumentation issue in Redis.asyncio

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 25, 2023
Python agent v9.1.0

Notes

This release of the Python agent adds support for sklearn and redis.asyncio connections.

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 sklearn The Python agent now supports monitoring for machine learning models created with sklearn. Check out our documentation for details on how to view and query for your prediction events and ML related metrics directly in the New Relic user interface. Machine learning instrumentation will be disabled by default in this release. To enable it, visit our configuration page for further information. This release also introduces two new APIs to support customization of machine learning monitoring: wrap_mlmodel and record_ml_event.

  • Add instrumentation for redis.asyncio.Connection Add instrumentation support for connections initiated from the redis.asyncio module

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.

August 28, 2023
Python agent v9.0.0

Notes

This release of the Python agent adds support for async graphql-core and drops support for graphql-core 2.

Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.

Framework Support

Enhancements

  • Add support for async graphql-core Add support for async graphql-core 3.0 and above.

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.

August 23, 2023
Python agent v8.11.0

Notes

This release of the Python agent adds support for structlog and some bug fixes.

Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.

Enhancements

  • Add support for structlog Adds instrumentation support for structlog.

Bug fixes

  • Fix certificate fallback logic Fixed the fallback logic for the certificate bundle such that it only uses the builtin bundle when both the cafile AND capath are None.

  • Fix missing database metric Fixed an issue where certain databases were not recording the Datastore/instance/<db>/<host>/<port> metric and so the database was not showing up in the service map.

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.

August 17, 2023
Python agent v8.10.1

メモ

このリリースの Python エージェントでは、MetricNormalizationRules の問題が修正され、パッケージ バージョン検出の DeprecationWarning が修正され、 Redis v5で導入された新しいコマンドのサポートが追加されました。

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

機能強化

  • Redis v5 で導入された新しいコマンドのサポートを追加 Redis v5 の完全なインストルメンテーション サポートを追加します。

バグ修正

  • MetricNormalizationRules のクラッシュを修正クライアント側の MetricNormalizationRules を使用してメトリクス (NerdGraph を通じて設定され、機能フラグで利用可能) を無視する場合のクラッシュを修正しました。 メトリクスは適切に無視されるようになりました。

  • Python 3.10+ のパッケージ バージョン検出における DeprecationWarning を修正Python 3.10+ で内部的に使用されるパッケージ バージョン検出によって生成される DeprecationWarning を修正しました。importlib.metadata が利用可能な場合は、モジュールの非推奨の version 属性のチェックを回避するために、これを使用することを推奨します。(貢献してくださった @renanivo に感謝します!)

サポートステートメント

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

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

August 10, 2023
Python agent v8.10.0

Notes

This release of the Python agent drops support for Redis v3 and below and adds support for Google Cloud Firestore, async Redis, and fixes a crash that occurs when wrapping generators.

Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.

Deprecations

  • Drop support for Redis v3 and below As of v8.10.0, Redis v3 and below are outside New Relic's supportability window and therefore no longer supported. Because Redis v4 and above no longer support Python 2.7, this means Python 2.7 support has been dropped from Redis as well.

Enhancements

  • Add support for Firestore Adds instrumentation support for Google Cloud Firestore.

  • Add support to Redis Async Adds instrumentation support for Redis' async features. Thanks, ahmedhr and bc291 for your contribution!

  • Automatic wrapping for async generators Existing tracing decorator APIs now support async generators out of the box.

Bug fixes

  • Fixed a crash when consecutive calls to throw() on wrapped generators Previously consecutive calls to throw() would raise an exception rather than inject the exception into the wrapped generator.

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.

July 27, 2023
Python agent v8.9.0

Notes

This release of the Python agent adds support for RedisCluster.

Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.

Enhancements

  • Add support for RedisCluster Adds instrumentation support for RedisCluster.

Bug fixes

  • Resilient Environment Settings Fixed a crash when using generalimport with the agent. Thanks for the contribution, aaeabdo!

  • Remove deprecated drop_transaction calls from agent The drop_transaction function had been removed from the agent but references to it still existed, so this version of the agent removes any remaining calls.

  • Fix logic in serverless distributed tracing to work by default

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.

June 26, 2023
Python agent v8.8.1

Notes

This release of the Python agent fixes a bug in package reporting and adds support for redis 4.6.0 and loguru 0.7.0.

Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.

Enhancements

  • Add support for redis 4.6.0 Adds instrumentation support for new waitaof method.

  • Add support for loguru 0.7.0 Adds support for loguru v0.7.0.

Bug fixes

  • Fix reporting of locally scoped packages Previously, locally scoped Python packages (such as those installed into user scope) were not reported on agent connect. 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 30, 2023
Python agent v8.8.0

Notes

This release of the Python agent adds support for two new errors inbox features: error fingerprinting and user tracking. It also includes bug fixes.

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

  • New Errors Inbox features

User tracking: You can now see the number of users impacted by an error group. Identify the end user with the set_user_id method.

Error fingerprinting: Are your error occurrences grouped poorly? Set your own error fingerprint via a callback function.

Bug fixes

  • Guard GraphQL settings lookup In v8.7.1, a bug was introduced in GraphQL instrumentation when not running within a transaction. This crash has been addressed.

  • Fix Redis instance information Redis v4.5.2 included a change that broke detection for socket based redis instance information. The agent now correctly detects socket paths again.

Support statement

New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. As of this release, the oldest supported version is 5.12.0.140. More information can be found in the EOL Policy Page.

Copyright © 2025 New Relic株式会社。

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