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/)
メモ
特徴
- OTEL ログAPIのサポートを追加しました ( #3228 ) (19a9c78 )
- パッケージで計装が無効になっている場合のメトリクスのサポートを追加しました ( #3252 ) (6098a5b )
- サンプル設定ではデフォルトでタイマーが無効になっている計装 ( #3253 ) (72eb8d4 )
バグ修正
コードリファクタリング
ドキュメント
- 正しいリポジトリを使用するようにディストリビューティッド(分散)トレーシングの例を更新しました ( #3254 ) (1fb3859 )
- 互換性レポートを更新しました ( #3299 ) (8b85342 )
- 互換性レポートを更新しました ( #3267 ) (2712c94 )
- 互換性レポートを更新しました ( #3265 ) (daedadd )
- 互換性レポートを更新しました ( #3261 ) (bd7d3fa )
- 互換性レポートを更新しました ( #3246 ) (c289fb5 )
- 互換性レポートを更新しました ( #3241 ) (64529e1 )
雑用
テスト
- バージョン付きテストのエンジンとバージョン範囲をクリーンアップしました ( #3260 ) (c7fd60e )
- 失敗する http ベンチマークテストを修正しました ( #3258 ) (7e8cd48 )
- 失敗するスパンイベントベンチマークテストを修正しました ( #3255 ) (05b955f )
- 最新の 24 での CI の問題を修正しました ( #3277 ) (960d169 )
- タイマーが常に有効であると想定していたテストを修正しました ( #3257 ) (40cfda1 )
- nestjs テスト アプリへのピア依存関係の強制インストール ( #3269 ) (4e454ff )
継続的なインテグレーション
- ベンチマークテストが失敗した場合に CI が失敗するように更新しました ( #3256 ) (a6a7a15 )
- NR One にベンチマーク メトリクスの送信を追加 ( #3285 ) (7fc8e40 )
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。( https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/ )
エージェントのリリースとサポート日については、New Relic Node.js エージェントの EOL ポリシーを参照してください。( https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/ )
メモ
⚠ 重大な変更
このバージョンの Node.js エージェントは SemVer のメジャー アップデートであり、次の重大な変更が含まれています。メジャー バージョンでは、メンテナーの規定によりサポート終了となった言語ランタイムのサポートが中止される場合があります。さらに、メジャー バージョンでは、特定の計装のサポートが終了し、削除される場合があります。 これらの変更の詳細については、 移行ガイドを参照してください。
- Node.js 18のサポートを終了しました
fastify
の最小サポートバージョンを 3.0.0 に更新しました。pino
を 8.0.0 に、koa-router
を 12.0.0 に
特徴
- Node.js 18 のサポートを廃止しました ( #3097 ) (cb7c080 )
fastify
、pino
、koa-router
の最小サポートバージョンを更新しました ( #3108 ) (ae9e21d )
ドキュメント
- 新しいAWS Bedrock API ( #3230 ) (e1ff0d3 ) を使用して AI モニタリングの互換性ドキュメントを更新しました
- 互換性レポートを更新しました ( #3237 ) (dc85e4e )
テスト
- すべての期待されるセグメントを挿入するように
assertSegments
を修正しました ( #3239 ) (de183fb ) - CI の問題を回避するために発信コールを模擬するテストを更新しました ( #3234 ) (66694c6 )
継続的なインテグレーション
node-newrelic
以外のリポジトリの semver メジャー コピーを除外するようにリリースの準備を更新しました ( #3242 ) (82d9689 )- リリース準備を更新し、重大な変更に関するコピーを追加しました ( #3199 ) (ca1131c )
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。( https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/ )
エージェントのリリースとサポート日については、New Relic Node.js エージェントの EOL ポリシーを参照してください。( https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/ )
メモ
特徴
バグ修正
eventSegment.addAttribute
null の場合はクラッシュしません ( #3215 ) (8955f37 )openai
レスポンス API のサポートが >=v4.87.0 に変更されました ( #3219 ) (19c0c70 )
ドキュメント
雑用
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。( https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/ )
エージェントのリリースとサポート日については、New Relic Node.js エージェントの EOL ポリシーを参照してください。( https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/ )
メモ
特徴
ドキュメント
雑用
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。( https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/ )
エージェントのリリースとサポート日については、New Relic Node.js エージェントの EOL ポリシーを参照してください。( https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/ )
Notes
Features
- Added ability to report only on entry and exit spans (#3184) (1f909d3)
- Added Node.js 24 support (#3080) (a538c2a)
Documentation
Miscellaneous chores
- Fix issues on Node 24 (#3181) (24832df)
- Removed force labels on main CI workflow (#3183) (3aaee17)
- Updated undici tests to unblock CI (#3185) (08261eb)
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/)