Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

WebFlux + APM Agent 1.55: Incorrect Transaction Duration

オープン
#4,173 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java, spring
領域
observability

調査の方向性

この issue ではファイル、テスト、エントリーポイントが指定されていません。まず Elastic APM Java agent 1.55.0 を使用してアノテーション付きの WebFlux トランザクションを再現し、記録された所要時間を Publisher の subscription および completion と比較してください。動作が修正されるか、制限事項とサポートされている workaround が文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

agent-java community

I'm using the Elastic APM Java agent version 1.55.0 in a Java Reactive (WebFlux) application. I'm instrumenting my code using annotations like @CaptureTransaction and @CaptureSpan.

The problem is that all the transactions and spans show unrealistically short durations (e.g., 196 μs), even though the actual processing takes much longer.

It seems like the agent is measuring the duration only until the Publisher is returned, not until it's subscribed and completed. This results in incomplete or inaccurate traces and metrics.

Is this a known limitation in version 1.55?
Is there a recommended workaround (e.g., manual instrumentation using ElasticApm.startTransaction()), or is this expected to be fixed in a later release?

主要言語
Java
スター
593
フォーク
337
平均マージ
15時間 24分
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elastic/apm-agent-java のほかの issue

elastic/apm-agent-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。