Skip to content

Releases: newrelic/newrelic-python-agent

v13.2.0

Choose a tag to compare

@TimPansino TimPansino released this 06 Jul 21:32
4ee128a

Notes

This release of the Python agent adds instrumentation support for Google ADK, adds token counting for multiple AI providers (Anthropic, Google GenAI, OpenAI, and AWS Bedrock), reduces outbound tracestate header size, and fixes a crash in graphql-core instrumentation.

Install the agent using easy_install/pip/distribute via the Python Package Index, using conda via the Conda-Forge Package Index, or download it directly from the New Relic download site.

Improved Features

  • Add instrumentation for Google ADK

    • The Python agent now instruments Google ADK (Agent Development Kit) AI agent workflows.
    • Instrumented components include:
      • LlmAgent linked to Gemini or VertexAI backends via google.genai
      • User-defined FunctionTool instances
      • Sub-agent workflows including child agents and AgentTool instances
      • Multi-agent workflows including the Workflow class and deprecated LoopAgent, ParallelAgent, and SequentialAgent classes
  • Add token counting for Anthropic, Gemini, OpenAI, and Bedrock

Bugs

  • Fix instrumentation crash for graphql-core v3.2.10

    • Previously, graphql-core v3.2.10 renamed the errors attribute to collected_errors in ExecutionContext, causing the agent to crash. This has been fixed, and the agent now works correctly with graphql-core v3.2.10 and later.
  • Remove spanId from outbound tracestate header

    • Previously, the agent included spanId in the outbound tracestate header. Because spanId is already present in the traceparent header, this was unnecessary duplication. The spanId has been removed from tracestate to reduce outbound header size.

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.

v13.1.1

Choose a tag to compare

@hmstepanek hmstepanek released this 04 Jun 21:29
04d7e1e

v13.1.0

Choose a tag to compare

@hmstepanek hmstepanek released this 01 Jun 21:51
c3c787c

v13.0.1

Choose a tag to compare

@hmstepanek hmstepanek released this 21 May 21:20
6e429d2

v13.0.0

Choose a tag to compare

@hmstepanek hmstepanek released this 12 May 19:46
51805bc

v12.1.0

Choose a tag to compare

@hmstepanek hmstepanek released this 26 Mar 21:41
d9ba38f

v12.0.0

Choose a tag to compare

@TimPansino TimPansino released this 12 Mar 22:33
0aeec05

v11.5.0

Choose a tag to compare

@lrafeei lrafeei released this 20 Feb 00:10
7cb9b89

v11.4.0

Choose a tag to compare

@umaannamalai umaannamalai released this 29 Jan 22:29
80f4a3c

v11.3.0

Choose a tag to compare

@umaannamalai umaannamalai released this 22 Jan 22:58
002fc85