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
Describe the bug
I set baggage in controller and sent to service/command layer, but the baggage is empty, the strange thing is Trace ID and Span ID were transfer successfully.
I create mini app here if you want to check: https://github.com/kusandriadi/micrometer-mini-app
Environment
Java 21
Spring Boot 3.2.2
Micrometer tracing bom 1.2.3
Spring doc 2.3.0
To Reproduce
I created three difference implementation:
Expected behavior
All case in unit test must be success
Additional context
I already set Hooks.enableAutomaticContextPropagation(). Trace id and span id were not empty, only baggage is empty when using Mono fromCallable or Mono just.
in my project, we are using command pattern.
The text was updated successfully, but these errors were encountered:
Describe the bug
I set baggage in controller and sent to service/command layer, but the baggage is empty, the strange thing is Trace ID and Span ID were transfer successfully.
I create mini app here if you want to check: https://github.com/kusandriadi/micrometer-mini-app
Environment
To Reproduce
I created three difference implementation:
The implementations above already cover in unit test:
https://github.com/kusandriadi/micrometer-mini-app/blob/main/src/test/java/com/micrometer/web/HelloControllerTest.java
How to reproduce the bug:
Expected behavior
All case in unit test must be success
Additional context
The text was updated successfully, but these errors were encountered: