Notes
Bug fixes
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/)
メモ
バグ修正
- キャッシュを無効にするために
getHostnameSafeを更新し、GCP cloud実行 ID に基づいてホストを割り当てようとしています (#3650) (d395c76) - LangChain チャット完了メッセージでコンテンツとロールを適切に割り当てるためのロジックを更新しました (#3638) (407bcb6)
ドキュメント
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
特徴
部分粒度トレースの追加サポート(本番環境では使用できません)
バグ修正
- トランザクション中に追加されたリンクのアカウント (#3606) (488b678)
- 適切なコンテキストに基づいてサンプリングの決定を適切に割り当てるようにサンプラーを更新しました (#3641) (4bbdddf)
- アクティブ リクエストを適切に終了するために、リクエスト時にアクティブ セグメントと親セグメントをシンボルとして追跡するように
undici計装を更新しました (#3619) (9baebe5)
コードリファクタリング
- 未使用の
distributed_tracing.in_process_spans.enabledロジックを削除しました。部分粒度トレースがこれを置き換えます (#3611) (1d5584e) - 発行されたイベントをサブスクライブするための
@langchain/core計装を更新しました (#3493) (d1e90e4)
ドキュメント
雑用
LangchainLangChainに変更し、バージョン範囲を拡張しました (#3629) (d77239e)- OTELステータスメタデータをセグメントにコピー (#3613) (4057e80)
- deps:
@newrelic/security-agentv3.0.0に更新しました (#3637) (a84fa74) ai_monitoringが無効になっている場合は OpenAI セグメントを作成しない (#3625) (b4f0010)- セグメント上のスパンリンクの数を制限する (#3621) (c923c30)
- OIDC の手順による Azure 公開を更新しました (#3633) (14c41c0)
テスト
redisバージョン管理されたテストの集中インデックス (#3636) (34f6562)LangChainツールテストを>=0.2.0に変更しました (#3631) (3a4980f)LangChainテストターゲットを修正 (#3634) (6504eb8)LangChainバージョン管理されたテストをリファクタリングしました (#3624) (12ae601)
サポートステートメント:
最新のエージェント バージョンが利用可能になったらすぐに更新することをお勧めします。最新バージョンにアップグレードできない場合は、エージェントを 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/ )
メモ
特徴
部分粒度トレースの追加サポート(本番環境では使用できません)
コードリファクタリング
- 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/ )
Notes
Features
- Updated
koainstrumentation to properly wrapRouterwhen using@koa/router@15.0.0+ (#3550) (f1e08ad) - Added ability to configure a ratio based sampler (#3501) (f300bd5)
- To assign a ratio based sampler, set
config.distributed_tracing.sampler.root,config.distributed_tracing.sampler.remote_parent_sampled, orconfig.distributed_tracing.sampler.remote_parent_not_sampledto{ trace_id_ratio_based: { ratio: <float between 0 and 1> }} - To assign via environment variables set
NEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>='trace_id_ratio_based'andNEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>_RATIO=<float between 0 and 1>where<TYPE>is one ofROOT,REMOTE_PARENT_SAMPLED, orREMOTE_PARENT_NOT_SAMPLED
- To assign a ratio based sampler, set
- Updated configuration to allow
adaptive.sampling_targetto be set forconfig.distributed_tracing.sampler.root,config.distributed_tracing.sampler.remote_parent_sampled, andconfig.distributed_tracing.sampler.remote_parent_not_sampled(#3532) (44f51dd) - Added support for OTEL span links (#3528) (e840690)
- Replaced
defaultwithadaptiveas the default for samplers (#3543) (3f03162) - Preliminary support for partial granularity traces (Not available for production use)
- Added
essentialtype for partial granularity traces (#3547) (3d85fb5) - Added
reducedtype for partial granularity traces. (#3540) (cfa8f41) - Added partial granularity samplers and assign transactions with
isPartialTracewhen partial granularity sampling decisions have been made (#3544) (1535a82) - Refactored samplers into classes and store them on
agent.sampler.*(#3527) (ad63441) - Updated
Samplersclass to normalize logger messages, short circuit when applicable and remove optional chaining checks (#3546) (4f7684c) - Updated samplers to assign priority between 0-1 when DT is disabled or both full and partial granularity are disabled (#3559) (7a1c37e)
- Updated transaction to store partial granularity indicator as
.partialType(#3561) (a7f20d8) - Updated when partial granularity rules are applied (#3553) (a4bdf4f)
- Added
toStringandget [Symbol.toStringTag]()to default Sampler class (#3562) (771168d)
- Added
Bug fixes
Documentation
Miscellaneous chores
- Improved logging around
preconnectpayload - Utilization resolution is now done concurrently (#3556) (8386360)
- Collected OTEL instrumentation scope metadata on all OTEL spans. (#3554) (75703c4)
- Improved OTEL hrtime processing (#3557) (8f187b1)
- Renamed config
opentelemetry_bridgetoopentelemetry(#3565) (c9d156f)
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/)