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.
Features
- Added
--dumpto validate-config to emit the effective configuration (#4390) (fe3e684) - Added a validate-config CLI command (#4341) (821848d)
- Flagged a missing OpenTelemetry bridge as a validate-config startup blocker (#4396) (75397be)
- Reduced instances of the schema file to be just one instance in
schema.json(#4379) (a870c3b) - Shared startup-blocker checks between the agent and validate-config CLI (#4378) (06e6596)
Bug fixes
- Bounded module version resolution at filesystem root (#4393) (71c90b6)
- Fixed
http2client handling of missing headers, default ports, IPv6 hosts, and unparseable URLs (#4362) (0eef6a6) - Loaded the code-level metrics function inspector once instead of on every call (#4391) (01d2797)
Performance improvements
- Reduced CPU per SQL query by skipping slow query processing below
explain_threshold(#4376) (047e2cd)
Code refactoring
Documentation
Miscellaneous chores
- Fixed
MAXIMUM_TIMEOUT_TIMEinlib/otel/metrics/index.jsto be the correct expected value (#4365) (39b037c) - Updated linter to latest version (#4351) (a1a30f5)
- Added CLI tool help note about derived settings (#4398) (7c8b36d)
Tests
- Attempted to fix flaky tests (#4383) (01ddfd8)
- Pinned version of
@opentelemetry/apito 1.9.0 (#4387) (525b81c) - Updated
gotto latest to ensure it is up to date (#4364) (b586275)
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.
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/ )
メモ
特徴
browser_monitoring.version設定オプションを追加しました (#4269) (b62ca00)。- これを設定すると、
newrelic.getBrowserTimingHeaderを使用する際のBrowserエージェントのバージョンが、選択したバージョンに固定されます。 - サポートされなくなったバージョンや無効なバージョンを指定した場合、
newrelic.getBrowserTimingHeaderを呼び出す際にどのBrowserエージェントにも解決されません。
- これを設定すると、
バグ修正
- トランザクションがアクティブでない場合に外部セグメントの作成を試みないように、
undici計装を更新しました (#4278) (d634246)。 - 外部セグメントIDを含む
traceparentヘッダーを適切に挿入するように、http2計装を更新しました (#4279) (ccd7800)。
コードリファクタリング
Shimの代わりにトレースチャネルを使用するためにchild_process計装をリファクタリングしました (#4212) (5a39c38)- 発行されたイベントをサブスクライブするために
dns計装をリファクタリングしました (#4224) (c04289f)
雑用
テスト
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 90 日以内のバージョンに更新してください。エージェントを最新の状態に保つ方法の詳細については、こちらをご覧ください。
エージェントのリリースとサポート日に関する情報については、New Relic Node.jsエージェントのEOLポリシーを参照してください。