Notes
Features
- Added ability to store a list of OpenTelemetry Gen AI attributes from being truncated (#4505) (0e7d01d)
- Added support for some OpenTelemetry configuration options when
opentelemetry.enabledis true (#4501) (a0874ab)- If
config.opentelemetry.enabledistrue, the following OpenTelemetry environment variables will be applied to config:OTEL_SERVICE_NAME->config.app_nameOTEL_LOG_LEVEL->config.logging.levelOTEL_SDK_DISABLED->config.agent_enabled
- The OpenTelemetry environment variables have the same precedence level as New Relic environment variables. If the same value is set by both a New Relic environment variable (ex. NEW_RELIC_APP_NAME), the New Relic variable will take precedence.
- If
Bug fixes
- Added support for header tuples in
outgoingResponse.writeHead(#4504) (ed90b3d) - Handled an
apollo-serverrequest where a fragment does not return an operation (#4525) (bd866aa) - Reported unhandled outbound
httprequest errors once on the external span (#4484) (e76cacc) - Restored Redis MULTI/pipeline datastore instrumentation for @redis/client 6.4.0 (#4510) (2446f75)
- Used the bundled undici version for
SubscriberUsedmetrics instead of the Node.js major (#4512) (6561d6b) - Used the correct AWS partition when building ARNs for DynamoDB and Lambda (#4491) (f644a09)
Performance improvements
- Reduced per-request CPU in middleware done handler wrapping billouboq (#4516) (1b4f6c0)
- Skipped
Buffer.byteLengthinisValidLengthwhen the string length decides billouboq (#4523) (d819521) - Stopped
mongodbrecorders from retaining cursors until the transaction ends billouboq (#4517) (77d8d23)
Documentation
- Removed 'External Modules' section in README (#4522) (57b855c)
- Updated
virtual-machineandworker-threadsconfig schema descriptions (#4521) (6e8272e) - Updated
agent_controlandapiconfig schema descriptions (#4513) (460e87f) - Updated compatibility report (#4493) (0a663b8)
Miscellaneous chores
- Aligned
ai_monitoring.enableddeprecation notice withplugins.native_metrics.enabled(#4495) (f083b00) - Cleanup
qandelasticsearchsubscriber configs to accurately reflect instrumented range (#4514) (b8d0bd9)- Also fixed lint issues.
- Deprecated
NEW_RELIC_NATIVE_METRICS_ENABLEDfor new setting (#4490) (210118f)
Tests
- Added a script that checks for circular deps. It will run weekly as a Github action (#4515) (7272bd8)
- Changed configuration to disable virtual machine metrics for 2 suites (#4498) (2504cae)
- Fixed test reporter totals to use the run-wide summary (#4506) (5288d35)
- Moved
lib/configunit tests totest/unit/lib/config(#4500) (823fa59) - Reduced benchmark suite wall time (#4494) (2352751)
- Reduced response handling integration test time by sharing a certificate (#4497) (d9f925b)
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/)