Notes
Bug fixes
Code refactoring
Documentation
Continuous integration
- Benchmark tests run on push on main (#3359) (c0f81c3)
- Changed NUGET_SOURCE workflow to variable (#3364) (10692db)
- Fix benchmark workflow (#3365) (7da99b5)
- Updated the
GH_RELEASE_TOKEN
to point to our bot user PAT instead of python agent (#3363) (06eb5c1)
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
- Default
requestParameters
to an object to avoid crash intransaction.addRequestParameters
(#3361) (ecd0d1d)
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
Code refactoring
- Removed instances of
url.parse
. Streamlined how http instrumentation creates relevant attributes. (#3340) (1fc1e1a) - Updated
openai
instrumentation to subscribe to events emitted (#3331) (04dd677)
Documentation
Miscellaneous chores
Tests
- Added more cassandra-driver tests (#3323) (d2e9d10)
- Fixed long running benchmark test and add
shimmer.subscribers
benchmark test (#3349) (15253c0) - Fixed langchain openai streaming tests by explicitly passing
streaming: true
to chat model (#3346) (4f12499) - Fixed openai test after migration to tracing channel (#3336) (0d01e29)
- Hardened
batch-span-streamer.test.js
to avoid random failures in CI (#3338) (2077ce3)
Continuous integration
- Set benchmark host default to staging (#3332) (55f6b8d)
- Updated the redis container to use the official
redis
image asbitnami/redis
is moving and no reason to use a 3rd party image (#3342) (8ffb393)
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/)
メモ
コードリファクタリング
- チャネルベースの計装をトレースするための CJS/ESM 登録に
@apm-js-collab/tracing-hooks
使用するようにエージェントを更新しました ( #3324 ) (4b2c14f )
ドキュメント
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
特徴
- 加入者ベースの計装用に
Supportability/Features/Instrumentation/OnRequire/<pkg>
メトリクスを登録する機能を追加しました ( #3312 ) (87bfa40 ) - orchestrion-js で動作するように esm ローダー フックと commonjs パッチを追加しました ( #3312 ) (415aeba )
@modelcontextprotocol/sdk
クライアント呼び出しclient.callTool
、client.readResource
、およびclient.getPrompt
の計装を追加しました ( #3312 ) (5d9790b )
バグ修正
- OTEL パッケージの検出に関するロジックを修正しました ( #3326 ) (4df30e5 )
shimmer.setupSubscribers
を更新して、無効になっている加入者を適切に設定してスキップするようになりました ( #3312 ) (cf5b3ec )
コードリファクタリング
config.instrumentation.<pkg-name>.enabled
経由で購読者を無効にする機能を追加しました ( #3312 ) (55f8fe7 )- 親が内部としてマークされ、同じパッケージである場合に、加入者ベースの計画でセグメントが作成されないようにする機能を追加しました ( #3322 ) (91f91c2 )
opensearch
クラスからid
問題を削除しました ( #3312 ) (8be00ce )- 発行されたイベントをサブスクライブするための
opensearch
計装を更新しました ( #3312 ) (9a27a5d ) - 発行されたイベントをサブスクライブするためにelasticsearch計装を更新しました ( #3312 ) (a3e2348 )
- 発行されたイベント ( #3312 ) をサブスクライブするために ioredis 計装を更新しました (90b97d2 )
- 発行されたイベント ( #3312 ) をサブスクライブするために pino 計装を更新しました (28bbe9f )
- サブスクライバーを更新し、セグメントを作成し、属性を割り当て、開始する共通の createSegment を追加しました ( #3317 ) (aa3f8d9 )
- undici 計装を更新して、シムへの依存を削除しました。 また、リクエストオブジェクトのシンボルではなくコンテキストに関連するセグメントを保存するように更新しました( #3312 )(ec17fa7 )
ドキュメント
雑用
テスト
- 計装した古いバージョンの opensearch パッケージ バージョンの取得を修正しました ( #3314 ) (e45ab27 )
- ピン留めを解除するためにテストで不要な
prisma.$use
を削除しました ( #3303 ) (db20324 )
継続的なインテグレーション
- メトリクスを送信していない場合でも、ユーザーがベンチ マーク テストを実行できるようにする ( #3307 ) (1be1514 )
- ベンチマークテストを
TEST_LICENSE
使用するように変更 ( #3325 ) (1f7f733 )
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
特徴
- 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/ )
Notes
⚠ BREAKING CHANGES
This version of the Node.js agent is a SemVer MAJOR update and contains the following breaking changes. MAJOR versions may drop support for language runtimes that have reached End-of-Life according to the maintainer. Additionally, MAJOR versions may drop support for and remove certain instrumentation. For more details on these changes please see the migration guide.
- Dropped support for Node.js 18
- Updated min supported version for
fastify
to 3.0.0,pino
to 8.0.0, andkoa-router
to 12.0.0
Features
- Dropped support for Node.js 18 (#3097) (cb7c080)
- Updated min supported version for
fastify
,pino
, andkoa-router
(#3108) (ae9e21d)
Documentation
- Updated AI Monitoring compatibility docs with new AWS Bedrock APIs (#3230) (e1ff0d3)
- Updated compatibility report (#3237) (dc85e4e)
Tests
- Fixed
assertSegments
to insert all expected segments (#3239) (de183fb) - Updated tests to mock outgoing calls to avoid issues in CI (#3234) (66694c6)
Continuous integration
- Updated prepare release to exclude semver major copy for repos other than
node-newrelic
(#3242) (82d9689) - Updated release prep to add copy around breaking changes (#3199) (ca1131c)
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/)