Notes
Bug fixes
- Updated express instrumentation to properly instrument an array of middleware defined on a route (#3473) (e383c4e)
Documentation
- documented how to use the subscriber based instrumentation (#3432) (3b3ab72)
- Updated compatibility report (#3471) (964543b)
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
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/)
Notes
Features
Bug fixes
- Updated
ioredisinstrumentation to handle breakage of errors when using.pipeline. (#3457) (49f4d93) - Updated
openaiinstrumentStreamfunction to handle empty chunk wheninclude_usageis set (#3427) (f804940)
Code refactoring
- Update
expressinstrumentation to subscribe to events emitted (#3424) (bbf3d01) - Updated instances in instrumentation of
Array.forEachfor a more performant for...of or for index loop (#3463) (99484ce) - Updated instances of
Array.forEachfor a more performant for...of or for index loop (#3440) (48c37bf) - Updated token calculation for
aws-bedrockLLM Events (#3445) (9450181) - Updated token calculation for
google-genaiLLM Events (#3431) (41d32be) - Updated token calculation for
openaiLLM Events (#3430) (b8678cc)
Documentation
Miscellaneous chores
Tests
- Added a
randomStringhelper to agent_helper and use it in ioredis to avoid flappy tests, also updated local instances of random strings in kafka, elasticsearch and opensearch tests (#3462) (4deb6d8) - Fixed conflict between ioredis and ioredis-esm by running
flushdbinstead offlushallto avoid index getting removed mid test (#3464) (5e3f0a8) - Fixed express async error test to purposely misspell a method to emit a crash (#3435) (ff9f064)
- Moved aws-sdk-v3 common.js requirement of semver (#3461) (6a380ef)
- Pinned Next.js tests to
<16.0.0(#3446) (10787a1) - Updated minimum tested version of
@langchain/coreto 1.0.0 (#3437) (b61f67a)
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/)
メモ
コードリファクタリング
発行されたイベントをサブスクライブするために
pgとpg-native計装を更新しました ( #3397 ) (04af258 )デフォルトで
timers.setTimeoutとtimers.setInterval無効にするために、config.instrumentation.timers.enabledfalse に更新しました。( #3414 ) (b925d3d )- 再度有効にするには、設定で
config.instrumentation.timers.enabledtrueに設定するか、NEW_RELIC_INSTRUMENTATION_TIMERS_ENABLED=true
- 再度有効にするには、設定で
ドキュメント
雑用
- 新しい診断基本クラスを追加し、undici を新しいクラスを使用するように移行しました ( #3408 ) (8047bf1 )
- サンプラー用のディレクトリを作成しました ( #3419 ) (dd2d3df )
スタイル
check-typesとrequire-returns-typejsdoc が必要です ( #3400 ) (e4cd687 )- jsdoc
check*、implements-on-classes、およびいくつかのno-undefined-typesが必要です ( #3404 ) (4fa645b ) - jsdoc
require-returns-checkとrequire-property-*が必要です ( #3403 ) (1008073 )
テスト
- package.json がエクスポートされていない場合にパッケージのバージョンを取得するためのヘルパーを追加し、それを必要とするテストを更新しました ( #3411 ) (5ae02c7 )
- セキュリティエージェントが有効な場合の fastify セグメントツリーアサーションを修正しました ( #3422 ) (b2cf6ed )
- すべてのストリーミング テストで新しいポートをリッスンするように mcp テストをリファクタリングし、プロセスの不要なシャットダウンを削除しました ( #3420 ) (17db813 )
- setTimeout を無効にして openai アサーションを更新しました ( #3421 ) (ceec8f9 )
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
コードリファクタリング
amqplib計装を更新して発行されたイベント ( #3377 ) をサブスクライブします (fecbb08 )- 発行されたイベントをサブスクライブするための
cassandra-driver計装を更新しました。 ( #3372 ) (bb87cd8 )
ドキュメント
雑用
スタイル
jsdoc/valid-typesとjsdoc/check-param-namesが必要です ( #3368 ) (5d1b1d9 )- jsdoc
require-param-descriptionとrequire-param-typeが必要です ( #3391 ) (3785d0c )
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
特徴
バグ修正
completions.parseまたはresponses.parse使用時にクラッシュを回避するために、APIPromise を適切に返すようにopenai計装を更新しました ( #3382 ) (c7ccf26 )
ドキュメント
雑用
- 未使用の
loader.mjsを削除しました ( #3376 ) (66a9fd5 ) - OTel ブリッジの有効化/無効化のメトリクスを更新しました ( #3381 ) (b976c37 )
- OTel Bridge を有効にするためのサポート性メトリクス名を更新… ( #3383 ) (c7c1d6c )
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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
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_TOKENto 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/)