Notes
Features
- Added a new api
setApolloResolverFilterCallbackto allow customers to filter out resolver segments before they are created (#4312) (0d89bde)
Bug fixes
- Updated the channel name for resolver fields in ESM to
nr_resolve(#4346) (e8b294c) - Wrapped openai stream
[Symbol.asyncIterator]so synthesized message survives v7 chunk normalization (#4342) (aa8ed4b)
Code refactoring
- Removed reliance on
@opentelemetry/sdk-logsfor hybrid agent (#4318) (1d05075) - Removed reliance on
@opentelemetry/sdk-trace-basefor hybrid agent (#4297) (00c363b)
Documentation
- Added an empty
enhancementsarray to docs PR (#4344) (b505eda) - Updated compatibility report (#4339) (6204ebb)
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Features
Bug fixes
- Ended the transaction and recorded the error when an Azure Functions handler throws (#4310) (918ef55)
Code refactoring
- Migrated
fsinstrumentation over to subscriber-based (#4317) (4711f4c) - Migrated core
globalsinstrumentation to subscriber-based (#4300) (7827797) - Refactored the Transaction class and affected other entities (#4246) (b965d8e)
Documentation
Miscellaneous chores
- Added
excludedPkgslist toinstrumentationand addedglobalsto it (#4334) (4f356f5) - Migrated configuration to JSON Schema (#4284) (39cdebc)
- Regenerated agent config json schema (#4335) (4c199a5)
- Removed
domainandinspectorinstrumentation and oldzlibfile (#4331) (f887492) - Updated agent-types 1.0.0 (#4307) (175a4ba)
Tests
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Bug fixes
- Updated
segment.getExclusiveDurationto only attempt to calculate and cache the durations of all segments in a trace once (#4303) (563f743)
Performance improvements
Code refactoring
- Consolidated core subscriber configs into a single file (#4294) (a6adc6d)
- Migrated core
cryptoinstrumentation to subscriber-based (#4293) (8848d84) - Refactored
zlibinstrumentation to be subscriber based (#4299) (e4ede21) - Removed reliance on
@opentelemetry/corefor hybrid agent (#4295) (8a83507)
Documentation
Miscellaneous chores
Tests
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Features
- Added
browser_monitoring.versionconfiguration option (#4269) (b62ca00)- When this is set, it will pin the browser agent version when using
newrelic.getBrowserTimingHeaderto the version selected. - If you specify a version that is no longer supported or invalid, it will not resolve to any browser agent when calling
newrelic.getBrowserTimingHeader.
- When this is set, it will pin the browser agent version when using
Bug fixes
- Updated
undiciinstrumentation to not attempt to create an external segment when transaction is not active (#4278) (d634246) - Updated
http2instrumentation to properly injecttraceparentheader with external segment id (#4279) (ccd7800)
Code refactoring
- Refactored
child_processinstrumentation to use tracing channel instead ofShim(#4212) (5a39c38) - Refactored
dnsinstrumentation to subscribe to events emitted (#4224) (c04289f)
Miscellaneous chores
Tests
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 Node.js agent EOL policy for information about agent releases and support dates.
Notes
Features
- Added support for
MessageBroker/Kafka/Cluster/{cluster_id}/{Produce|Consume}/{topic_name}metrics (#4263) (3be98f1) - Updated GCP hostname to support more Cloud Run instance types (#4256) (67bfd0d)
Bug fixes
- Fixed duplicated router mount path in transaction names for async middleware (#4272) (51a3bf4)
- Fixed otlp payload format for metrics in AWS Lambda (#4270) (5d29078) (upcoming feature; not yet available)
Documentation
Miscellaneous chores
- Deprecated
utilization.gcp_use_instance_as_hostin favor ofutilization.gcp_cloud_run.use_instance_as_host(#4258) (450303e)
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Bug fixes
Code refactoring
- Split
BedrockResponseandBedrockCommandintoConverseandInvokeModelvariants (#4235) (8235cf5) - Updated Claude detection logic in
InvokeModelCommand(#4245) (b090344)
Documentation
Miscellaneous chores
Tests
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Bug fixes
Code refactoring
Miscellaneous chores
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Bug fixes
Performance improvements
Code refactoring
- Include all
.mjsequivalents inopenaiinstrumentation to properly function when using ESM (#4232) (55c4dd9) - Removed dead
wrapNoSegmentcode fromzlibinstrumentation (#4231) (56207ec)
Documentation
Miscellaneous chores
Tests
- Fixed flaky CpuProfiler and sampling-rate integration tests (#4229) (edfe9a6)
- Widened error margin in ratio-based-sampler flaky test (#4234) (ff0496e)
Continuous integration
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Bug fixes
- Fixed OTEL metrics wrapping meters too many times (#4216) (6f917ad)
- Improved Apollo server resolver instrumentation performance (#4206) (2a394e8)
- Updated
getBrowserTimingHeaderto handle when a transaction may not be finalized and still return the browser agent string without transaction intrinsics (#4209) (fbf636b)
Performance improvements
Documentation
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. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Bug fixes
Updated addAttribute to only increase the attributeCount for new attributes (#4184) (f05df73)
Documentation
Updated compatibility report (#4191) (5b5f8ce)
Miscellaneous chores
Reverted clean-jsdoc-theme to 4.x (#4192) (e7b3ddf)
Tests
- Added unit tests for
bin/git-commands.js(#4199) (a8bb311) - Sync cross agent tests and fix related DT assertions (#4198) (44388c0)
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 Node.js agent EOL policy for information about agent releases and support dates.