Features
Bug fixes
- Stopped span event aggregator from stripping span links and timed events from queued spans (#4426) (24f9a15)
Code refactoring
Documentation
- Clarified datastore reporting configuration (#4434) (ec469e2)
- Updated compatibility report (#4415) (07a4437)
Tests
- Moved http tests to
test/integration/core/http. Also split out unit and integration tests accordingly (#4418) (3127658)
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/)
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/ )
メモ
特徴
バグ修正
コードリファクタリング
fs計装をサブスクライバーベースに移行しました (#4317) (4711f4c)- コア
globals計装をサブスクライバーベースに移行しました (#4300) (7827797) - トランザクションクラスをリファクタリングし、他のエンティティに影響を与えました (#4246) (b965d8e)
ドキュメント
雑用
instrumentationにexcludedPkgsリストを追加し、そこにglobalsを追加しました (#4334) (4f356f5)- 設定をJSON Schemaに移行しました (#4284) (39cdebc)
- エージェント設定のJSONスキーマを再生成しました (#4335) (4c199a5)
domainおよびinspectorの計装と古いzlibファイルを削除しました (#4331) (f887492)- agent-types 1.0.0を更新しました (#4307) (175a4ba)
テスト
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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
- Updated
segment.getExclusiveDurationto only attempt to calculate and cache the durations of all segments in a trace once (#4303) (563f743)
Performance improvements
Code refactoring
- Consolidated core subscriber configs into a single file (#4294) (a6adc6d)
- Migrated core
cryptoinstrumentation to subscriber-based (#4293) (8848d84) - Refactored
zlibinstrumentation to be subscriber based (#4299) (e4ede21) - Removed reliance on
@opentelemetry/corefor hybrid agent (#4295) (8a83507)
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. (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/)