v13.2.0
📦 new-relic-sdkView on GitHub →
✨ 2 features🐛 2 fixes⚡ 1 deprecations🔧 13 symbols
Summary
This release introduces instrumentation for Google ADK and adds token counting support for major AI providers (Anthropic, Gemini, OpenAI, Bedrock). It also includes a fix for a crash related to recent graphql-core updates and reduces outbound header size.
✨ New Features
- Added instrumentation support for Google ADK AI agent workflows, including `LlmAgent`, `FunctionTool`, sub-agent workflows, and multi-agent workflows.
- Added token counting for LLM invocations across Anthropic SDK, Google GenAI SDK, OpenAI SDK, and AWS Bedrock (via botocore/aiobotocore).
🐛 Bug Fixes
- Fixed a crash when instrumenting graphql-core v3.2.10 or later by correctly handling the renaming of the `errors` attribute to `collected_errors` in `ExecutionContext`.
- Removed unnecessary `spanId` from the outbound `tracestate` header to reduce header size, as it is already present in `traceparent`.
Affected Symbols
⚡ Deprecations
- The deprecated classes `LoopAgent`, `ParallelAgent`, and `SequentialAgent` are now instrumented as part of Google ADK support, but users should be aware of their deprecated status.