pypi newrelic 14.3.0
v14.3.0

one hour ago

Notes

This release of the Python agent enables AI monitoring by default with the new ai_monitoring.basic_telemetry.enabled setting, deprecates the ai_monitoring.enabled setting, and fixes a crash in LangChain tool 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.

Changes

  • AI monitoring is now enabled by default

    • LLM instrumentation is now enabled by default and the agent sends Llm* custom events, spans, and metrics (without message content) unless configured otherwise.
    • To record prompt and response content, set ai_monitoring.record_content.enabled to true.
    • To opt out, set ai_monitoring.basic_telemetry.enabled to false in newrelic.ini, or set the environment variable NEW_RELIC_AI_MONITORING_BASIC_TELEMETRY_ENABLED=false.
    • The ai_monitoring.enabled setting and the NEW_RELIC_AI_MONITORING_ENABLED environment variable are deprecated, but setting either one to false also opts out of AI Monitoring.

Bug fixes

  • Fixed a crash in LangChain StructuredTool.invoke and StructuredTool.ainvoke instrumentation when config or its metadata was None.

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.