Features
- Added support for
@opentelemetry/api@1.10.0(#4392) (504490d)- For customers directly using
@opentelemetry/api-logs, they must remove and update to use@opentelemetry/api1.10.0+. See the OpenTelemetry API changelog for more information. - For customers registering 3rd party instrumentation for logging libraries they must update to the following:
@opentelemetry/instrumentation-pinoto 0.70.0+,@opentelemetry/instrumentation-bunyanto 0.69.0+,@opentelemetry/instrumentation-consoleto 0.6.0+, or@opentelemetry/instrumentation-winstonto 0.69.0+
- For customers directly using
Bug fixes
- Collapsed Apollo Server argument array metrics (#4350) (baf35fd)
- To take advantage of this feature you must set both
config.apollo_server.field_metricsandconfig.apollo_server.collapse_field_metricstotrue. Thanks to @cpruijsen for your contribution!
- To take advantage of this feature you must set both
- Stopped net.js from pinning ended transactions to long-lived sockets (#4411) (471e7df)
Performance improvements
- Simplified mongodb bulk instrumentation to match execute directly (#4406) (af4efdb)
- Wrapped mongodb driver methods at the prototype level (#4399) (9074abc)
Documentation
Miscellaneous chores
Tests
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.
See the New Relic Node.js agent EOL policy for information about agent releases and support dates.
特徴
- 有効な設定を出力するため、validate-configに
--dumpを追加しました (#4390) (fe3e684) - validate-config CLIコマンドを追加しました(#4341)(821848d)
- OpenTelemetryブリッジの欠落をvalidate-configの起動ブロッカーとしてフラグ付けしました (#4396) (75397be)
- スキーマファイルのインスタンスを削減し、
schema.jsonで1つのインスタンスのみになるようにしました (#4379) (a870c3b) - エージェントとvalidate-config CLI間でスタートアップブロッカーのチェックを共有 (#4378) (06e6596)
バグ修正
- ファイルシステムルートでモジュールのバージョン解決を制限しました (#4393) (71c90b6)
- 欠落しているヘッダー、デフォルトポート、IPv6ホスト、および解析不可能なURLに対する
http2クライアントの処理を修正しました(#4362)(0eef6a6) - コードレベルのメトリクス関数インスペクターを、毎回の呼び出し時ではなく1回のみロードするようにしました(#4391)(01d2797)
パフォーマンスの改善
コードリファクタリング
ドキュメント
雑用
lib/otel/metrics/index.jsのMAXIMUM_TIMEOUT_TIMEが正しい期待値になるように修正しました (#4365) (39b037c)- リンターを最新バージョンに更新しました (#4351) (a1a30f5)
- 派生設定に関するCLIツールのヘルプノートを追加しました (#4398) (7c8b36d)
テスト
- 不安定なテストの修正を試みました (#4383) (01ddfd8)
@opentelemetry/apiのバージョンを1.9.0に固定しました (#4387) (525b81c)- 最新の状態を保つため、
gotを最新版に更新しました(#4364)(b586275)。
サポートステートメント
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日に関する情報については、New Relic Node.jsエージェントのEOLポリシーを参照してください。
Notes
Bug fixes
- Prevented nested server/consumer spans from ending the outer transactions early (#4355) (1a41313)
- Truncated every string within an array based span attribute (#4358) (9276106)
Code refactoring
- Handled updating segment name on internal spans when
span.updateNameis used after span is created (#4356) (320b7e6) - Updated span process
onEndlogic to skip attaching stacktrace to error when span lacks stack trace (#4357) (d318777) - Added instrumentation for
dns.promises,dns.Resolver,dns.promises.Resolver, and additionalresolve*methods (#4321) (e1e7784) - Refactored
netinstrumentation to subscriber-based (#4322) (0123e56)
Documentation
Miscellaneous chores
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/)
メモ
特徴
バグ修正
- ESMのリゾルバーフィールドのチャネル名を
nr_resolveに更新しました (#4346) (e8b294c) - 合成されたメッセージがv7のチャンク正規化で維持されるように、openaiストリーム
[Symbol.asyncIterator]をラップしました (#4342) (aa8ed4b)
コードリファクタリング
- ハイブリッドエージェントにおける
@opentelemetry/sdk-logsへの依存を削除しました (#4318) (1d05075) - ハイブリッドエージェントの
@opentelemetry/sdk-trace-baseへの依存を排除しました (#4297) (00c363b)
ドキュメント
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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
Bug fixes
- Ended the transaction and recorded the error when an Azure Functions handler throws (#4310) (918ef55)
Code refactoring
- Migrated
fsinstrumentation over to subscriber-based (#4317) (4711f4c) - Migrated core
globalsinstrumentation to subscriber-based (#4300) (7827797) - Refactored the Transaction class and affected other entities (#4246) (b965d8e)
Documentation
Miscellaneous chores
- Added
excludedPkgslist toinstrumentationand addedglobalsto it (#4334) (4f356f5) - Migrated configuration to JSON Schema (#4284) (39cdebc)
- Regenerated agent config json schema (#4335) (4c199a5)
- Removed
domainandinspectorinstrumentation and oldzlibfile (#4331) (f887492) - Updated agent-types 1.0.0 (#4307) (175a4ba)
Tests
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/)
メモ
バグ修正
パフォーマンスの改善
コードリファクタリング
- コアサブスクライバーの設定を単一のファイルに統合しました (#4294) (a6adc6d)
- コア
crypto計装をサブスクライバーベースに移行しました (#4293) (8848d84) zlib計装をサブスクライバーベースにリファクタリングしました (#4299) (e4ede21)- ハイブリッドエージェントの
@opentelemetry/coreへの依存を排除しました (#4295) (8a83507)
ドキュメント
雑用
テスト
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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
browser_monitoring.versionconfiguration option (#4269) (b62ca00)- When this is set, it will pin the browser agent version when using
newrelic.getBrowserTimingHeaderto the version selected. - If you specify a version that is no longer supported or invalid, it will not resolve to any browser agent when calling
newrelic.getBrowserTimingHeader.
- When this is set, it will pin the browser agent version when using
Bug fixes
- Updated
undiciinstrumentation to not attempt to create an external segment when transaction is not active (#4278) (d634246) - Updated
http2instrumentation to properly injecttraceparentheader with external segment id (#4279) (ccd7800)
Code refactoring
- Refactored
child_processinstrumentation to use tracing channel instead ofShim(#4212) (5a39c38) - Refactored
dnsinstrumentation to subscribe to events emitted (#4224) (c04289f)
Miscellaneous chores
Tests
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.
See the New Relic Node.js agent EOL policy for information about agent releases and support dates.