h
h copied to clipboard
Bump newrelic from 9.8.0 to 9.9.0
Bumps newrelic from 9.8.0 to 9.9.0.
Release notes
Sourced from newrelic's releases.
v9.9.0
Notes
This release of the Python agent updates Celery instrumentation, adds new Langchain vectorstores, adds configuration to capture memory usage runtime metrics per process, fixes a content reporting issue in Anthropic Claude, and upgrades internal version of urllib3 to v1.26.18.
Install the agent using
easy_install/pip/distributevia the Python Package Index or download it directly from the New Relic download site.Security
Upgrade internal version of urllib3 to v1.26.18
- Upgrade the internal version of urllib3 used in the Python Agent to v1.26.18 to resolve security warnings.
New features
Update Celery instrumentation
- Add support for distributed tracing in Celery over AMQP headers.
- Remove duplicate function traces for some methods of running tasks.
- All tasks should now only be instrumented once, and will report either an OtherTransaction, or a FunctionTrace if run under an existing transaction.
- Fix instrumentation for grouped celery tasks APIs, such as
task.map(),celery.group(), andcelery.chunks().
- Tasks run using
task.map()ortask.starmap()will now name tasks in the formatCelery/celery.map/my_taskto allow you to differentiate between map tasks.- Individual task runs created by the
map()andstarmap()tasks will be traced with a FunctionTrace to capture individual timings.Add new Langchain vectorstores
- Support for the following Langchain vectorstores:
DuckDB,EcloudESVectorStore,InMemoryVectorStore,PathwayVectorClient,VDMSAdd configuration setting to enable capturing of memory usage runtime metrics per process
- Add
memory_runtime_pid_metrics.enabledconfiguration setting to toggle capturing of memory usage metrics (per process ID only) to reduce Metric Grouping Issues (MGI).Bug fixes
Report only raw content dictionary for Anthropic Claude
- Previously, AWS Bedrock's Anthropic Claude model would report a list of dictionaries of message content. Now it reports a single dictionary of message content.
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.
Commits
d9dcfaaAdd PID into MEMORY_RUNTIME_METRICS_ENABLED (#1129)7b90b64Celery Instrumentation Cleanup (#1128)3b46fadPin All GitHub Actions (#1126)649044cUpdate Artifact Actions to Newer Versions (#1125)b364b5cTweak makefile (#1118)bd4e4b1Update urllib3 to 1.26.18 to silence security warnings (#1124)780f4a2Move validate_custom_event validators into validators directory (#1089)acf10ccCelery Distributed Tracing (#1121)c55b4d0Fix aiohttp Failures (#1123)240ea2eMerge pull request #1122 from newrelic/memory-usage-sampler-config- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)