Notes
This release of the Python agent adds instrumentation for Microsoft Agent Framework and CrewAI, improves LaunchDarkly feature flag instrumentation and span forwarding support, and fixes several crashes.
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
New instrumentation for Microsoft Agent Framework
- Instrumentation was added for tools and agents in the
agent-frameworkpackage. - Multi-agent configurations are not yet instrumented.
- Instrumentation was added for tools and agents in the
New instrumentation for CrewAI
- Instrumentation was added for agents, crews, and tools in the
crewaipackage.
- Instrumentation was added for agents, crews, and tools in the
Enhanced features
Improved LaunchDarkly feature flag integration.
preview
We're still working on this feature, but we'd love for you to try it out!
This feature is currently provided as part of a preview program pursuant to our pre-release policies.
To opt-in to our public preview integration with LaunchDarkly, enable the settings
launch_darkly_integration.enabledandopentelemetry.enabledin your config file.Improved feature flag instrumentation in ldclient.
- Added the new
feature_flag.url.fullattribute to enable deep UI linking. - Changed the case of the
inExperimentkey to match LaunchDarkly. - Added support for falsy values in feature flag attributes.
- Reduced all LaunchDarkly integration warnings to display only once.
- Added the new
Improved span forwarding for ldobserve.
- Added the
nr.entity.guidandnr.entity.urlspan attributes to enable deep UI linking. - Corrected span parenting to allow proper nesting in the UI.
- Added the
Bug fixes
- Fixed a crash in
TimeTracewhen attributes wasNonein_add_span_event_event. - Fixed a crash in the LaunchDarkly
Configwrapper when falling back to default values.
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.