pypi newrelic 12.1.0
v12.1.0

12 hours ago

Notes

This release of the Python agent adds support for time to first token and fixes an incompatible Flask add_url_rule function signature.

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.

New features

  • Add time to first token for LLM response streams

    • The agent now records an attribute called time_to_first_token on LlmChatCompletionSummary events for OpenAI and Bedrock response streams that measures the time between the request and the first token received in the response.

Bugs

  • Fix incompatible Flask add_url_rule function signature

    • Previously the function signature in the instrumentation did not match Flask's add_url_rule function signature and in some cases would cause a crash. This has been fixed.

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.

Don't miss a new newrelic release

NewReleases is sending notifications on new releases.