You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We kindly ask to post all questions and issues on the Discuss forum first. In addition to awesome, knowledgeable community contributors, core APM developers are on the forums every single day to help you out as well, so your questions will reach a wider audience there. If we confirm that there is a bug, then you can open an issue in this repo.
The mechanism you were using was an unsupported internal mechanism used to hold the value prior to 1.30. In 1.30 support for all of the different types of logging systems were centralized in the agent to no longer use the logger MDCs (some didn't even have one), and instead to use an internal agent map. So the trace ID is no longer available from the MDC.
The mechanism you were using was an unsupported internal mechanism used to hold the value prior to 1.30. In 1.30 support for all of the different types of logging systems were centralized in the agent to no longer use the logger MDCs (some didn't even have one), and instead to use an internal agent map. So the trace ID is no longer available from the MDC.
We kindly ask to post all questions and issues on the Discuss forum first. In addition to awesome, knowledgeable community contributors, core APM developers are on the forums every single day to help you out as well, so your questions will reach a wider audience there. If we confirm that there is a bug, then you can open an issue in this repo.
Describe the bug
since vesion 1.30, can not get trace.id from MDC
Steps to reproduce
agent jar: elastic-apm-agent-1.30.1.jar or after this version
call MDC.get("trace.id"), it returns null
agent jar: elastic-apm-agent-1.29.0.jar
call MDC.get("trace.id"), it returns the correct string
Expected behavior
call MDC.get("trace.id"), it should return the correct string.
or how can I get correct string
Debug logs
Click to expand
The text was updated successfully, but these errors were encountered: