traceId missing from MDC in logs in Dubbo 3.3.2
Open
help wanted
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
In Dubbo latest version 3.3.2, MDC.get("traceId") returns null even though the log pattern includes %X{traceId}. The call chain is web -> dubbo -> platform -> domains. Question: Is manual MDC.put required in a preHandler to propagate traceId?
Contributor guide
Research direction
Start by reproducing the issue on Dubbo 3.3.2 with a log pattern containing %X{traceId}, checking MDC.get("traceId") across the web → dubbo → platform → domains call chain. Determine whether traceId is propagated automatically or requires manual MDC.put in a preHandler; done means the expected traceId is available in MDC and logs, or the required configuration is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100