Change8

v13.5.0

📦 new-relic-sdkView on GitHub →
4 features🐛 5 fixes🔧 8 symbols

Summary

This release adds support for Azure CosmosDB, HTTPX2, and LangChain/LangGraph streaming events. It also includes fixes for package reporting, lookup performance, and MySQL database name reporting.

✨ New Features

  • Added support for Azure CosmosDB, instrumenting client operations and reporting datastore metrics and traces.
  • Added support for HTTPX2, mirroring existing HTTPX support for synchronous and asynchronous clients.
  • Added instrumentation for LangChain/LangGraph streaming events APIs, including `astream_events` and `stream_events` for GraphRunStream objects.
  • Added support for newer OpenTelemetry database semantic conventions, reading both legacy and newer span attribute names for database tracing.

🐛 Bug Fixes

  • Fixed incomplete package reporting to New Relic by running package capture during the fast harvest cycle and re-capturing on agent shutdown/restart.
  • Reduced overhead of package version lookups by caching the result of `importlib.metadata.packages_distributions()`.
  • Fixed `get_linking_metadata` to properly pass through the specified application, resolving an issue where it ignored the `application` argument.
  • Fixed MySQL database name reporting when using the `database` keyword argument by checking `database` first and falling back to `db`.
  • Fixed warning when accessing LangGraph v1.1+ `GraphOutput` values by reading `GraphOutput.value` directly instead of using deprecated item-access syntax.

Affected Symbols