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

Elastic Java APM Agent breaks trace logging for SpringBoot

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java, spring-boot

調査の方向性

まず https://github.com/nefsir/apm-trace-id-issue の再現プロジェクトを実行し、Elastic Java APM agent ありとなしで /dummy を呼び出します。ログ出力を比較し、trace-id のロギングに影響する agent の挙動を調査します。instrumentation によってログ行から trace id が削除されなくなれば完了です。

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

説明

agent-java community

Please find below description along with repo and reproduction steps.

Describe the bug

Trace id in log line is missing when using APM Java agent.

Steps to reproduce

  1. Use code from repo: https://github.com/nefsir/apm-trace-id-issue
  2. Run project and call /dummy endpoint. Log line contains trace id.
  3. Instrument with latest APM (-javaagent:{path-to-agent}/elastic-apm-agent.jar, version that I use is added to repository).
  4. Run project and call /dummy endpoint. Log line does not contain trace id.

Expected behavior

Instrumentation does not impact trace id logging.

主要言語
Java
スター
593
フォーク
339
平均マージ
1日 9時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

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

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

似ている issue

Java の issue をもっと見る

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

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