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
- Instrumentation support was added for cassandra-driver.
-
Add support for new langchain vectorstore
- Adds instrumentation for
TablestoreVectorStore
in langchain.
- Adds instrumentation for
-
Enhance stack traces logged by
NewRelicContextFormatter
- The
NewRelicContextFormatter
now reports exception causes when logging stack traces. Thanks @sweco for your contribution!
- The
Bug fixes
-
Fix compatibility issues with structlog's
ProcessorFormatter
- Fix was added for the case where the structlog
ProcessorFormatter
is used as alogging.Formatter
for both logging and structlog log entries.
- Fix was added for the case where the structlog
-
Check for
ExceptionMiddleware
removal instarlette.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.