Notes
Features
- Added ability to register
Supportability/Features/Instrumentation/OnRequire/<pkg>
metrics for subscriber based instrumentation (#3312) (87bfa40) - Added esm loader hook and commonjs patch to work with orchestrion-js (#3312) (415aeba)
- Added instrumentation for
@modelcontextprotocol/sdk
client callsclient.callTool
,client.readResource
, andclient.getPrompt
(#3312) (5d9790b)
Bug fixes
- Fixed logic around detecting OTEL packages (#3326) (4df30e5)
- Updated
shimmer.setupSubscribers
to properly setup and skip subscribers that are disabled (#3312) (cf5b3ec)
Code refactoring
- Added ability to disable subscribers via
config.instrumentation.<pkg-name>.enabled
(#3312) (55f8fe7) - Added ability to prevent creation of segments in subscriber based instrumentation when parent is marked as internal and of the same package (#3322) (91f91c2)
- Removed
id
parameter fromopensearch
class (#3312) (8be00ce) - Updated
opensearch
instrumentation to subscribe to events emitted (#3312) (9a27a5d) - Updated elasticsearch instrumentation to subscribe to events emitted (#3312) (a3e2348)
- Updated ioredis instrumentation to subscribe to events emitted (#3312) (90b97d2)
- Updated pino instrumentation to subscribe to events emitted (#3312) (28bbe9f)
- Updated subscribers to have a common createSegment that creates, assigns attributes, starts segment (#3317) (aa3f8d9)
- Updated undici instrumentation to remove its reliance on shim. Also updated storing the relevant segments on context instead of symbols on the request object (#3312) (ec17fa7)
Documentation
Miscellaneous chores
- change from ending segment to touching for feature parity with shim (#3312) (4d39fc5)
- Updated eslint configuration (#3296) (5c168a6)
Tests
- Fixed obtaining opensearch package version for older versions we instrument (#3314) (e45ab27)
- Removed unnecessary
prisma.$use
in tests to unpin (#3303) (db20324)
Continuous integration
- Allow users to run benchmark tests even if not sending metrics (#3307) (1be1514)
- Change benchmark tests to use
TEST_LICENSE
(#3325) (1f7f733)
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/)