• /
  • EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

Python agent v10.5.0

January 29, 2025Download

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.

Copyright © 2025 New Relic Inc.

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