Notes
Bug fixes
- Updated AWS Lambda instrumentation to skip wrapping handler callback if not present (#3602) (d56e27d)
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/)
メモ
特徴
部分粒度トレースの追加サポート(本番環境では使用できません)
コードリファクタリング
- AWS Bedrock の
LlmErrorをLlmErrorMessageを使用するように変換しました (#3567) (8b2bb42) - 発行されたイベント (#3467) をサブスクライブするための
@google/genai計装を更新しました (e8d9ba1) - 発行されたイベントをサブスクライブするための
bunyan計装を更新しました (#3589) (f1e5f12)
ドキュメント
雑用
テスト
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
特徴
@koa/router@15.0.0+ (#3550) (f1e08ad) を使用するときにRouter適切にラップするようにkoa計装を更新しました。比率ベースのサンプラーを構成する機能を追加しました (#3501) (f300bd5)
- 比率ベースのサンプラーを割り当てるには、
config.distributed_tracing.sampler.root、config.distributed_tracing.sampler.remote_parent_sampled、またはconfig.distributed_tracing.sampler.remote_parent_not_sampledを{ trace_id_ratio_based: { ratio: <float between 0 and 1> }} - 環境変数で割り当てるには、
NEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>='trace_id_ratio_based'とNEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>_RATIO=<float between 0 and 1>を設定します。<TYPE>はROOT、REMOTE_PARENT_SAMPLED、またはREMOTE_PARENT_NOT_SAMPLED
- 比率ベースのサンプラーを割り当てるには、
config.distributed_tracing.sampler.root、config.distributed_tracing.sampler.remote_parent_sampled、config.distributed_tracing.sampler.remote_parent_not_sampledにadaptive.sampling_targetを設定できるように構成を更新しました( #3532 )(44f51dd )部分粒度トレースの予備サポート(本番環境では使用できません)
- 部分粒度トレースに
essentialタイプを追加しました (#3547) (3d85fb5) - 部分粒度トレースに
reducedタイプを追加しました。( #3540 ) (cfa8f41 ) - 部分粒度サンプラーを追加し、部分粒度サンプリングの決定が行われた場合にトランザクションを
isPartialTraceに割り当てます (#3544) (1535a82) - サンプラーをクラスにリファクタリングし、
agent.sampler.*に保存しました (#3527) (ad63441) - ロガーメッセージを正規化し、該当する場合はショートサーキットを行い、オプションのチェーンチェックを削除するために
Samplersクラスを更新しました (#3546) (4f7684c) - DT が無効になっている場合、または完全な粒度と部分的な粒度の両方が無効になっている場合に、0 ~ 1 の優先度を割り当てるようにサンプラーを更新しました (#3559) (7a1c37e)
- 部分的な粒度インジケータを
.partialTypeとして保存するようにトランザクションを更新しました (#3561) (a7f20d8) - 部分的な粒度ルールが適用されたときに更新されます (#3553) (a4bdf4f)
- デフォルトの Sampler クラスに
toStringとget [Symbol.toStringTag]()を追加しました (#3562) (771168d)
- 部分粒度トレースに
バグ修正
ドキュメント
雑用
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
バグ修正
ドキュメント
テスト
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
バグ修正
nextハンドラーがrouteまたはrouterを渡すときに、express 計装を無視されたエラーに更新しました ( #3513 ) (724b218 )- Promise の場合に消費者のコールバックが終了するまで待機するように MessageConsumerSubscriber を更新しました ( #3510 ) (45667a0 )
ドキュメント
テスト
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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
MessageConsumerSubscriberto end transaction created for a given message consumption (#3503) (ba30818) - Updated
MessageProducerSubscriberto properly set the sampled flag ontraceparent(#3505) (0b1a9a8) - Updated the bedrock middleware to be registered with a
highpriority to ensure payload is properly deserialized (#3500) (63e531b)
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/)