Change8

v11.2.0

📦 new-relic-sdkView on GitHub →
6 features🐛 1 fixes🔧 6 symbols

Summary

This release introduces significant new instrumentation support for Strands, AWS Bedrock Converse Streaming, and Redis methods, alongside an important bug fix for ASGI header reporting.

✨ New Features

  • Added instrumentation for Strands tools and agents in single and multi-agent setups.
  • Added monitoring support for AWS Bedrock Converse Streaming API, including streaming Converse chat completion calls made with boto3 and aioboto3 clients using `converse_stream()`.
  • Added support for Redis methods `hybrid_search` and `msetex`.
  • Added support for the `loop_factory` parameter in `asyncio.Runner` (Python 3.11+), ensuring the created loop is instrumented.
  • Langchain `LlmChatCompletionMessage` events now capture the assigned role from Langchain.
  • LLM event timestamp is now captured more accurately at the time of the LLM request, instead of event creation.

🐛 Bug Fixes

  • Fixed an issue in ASGI instrumentation where headers were not reported by the web server because the header generator was prematurely consumed by `process_response()`.

🔧 Affected Symbols

asyncio.Runnerconverse_stream()http.response.startASGIWebTransactionprocess_response()LlmChatCompletionMessage