fiegn client does not propagate micrometer-tracing in native (AOT) with springboot 3
Open
Nobody has claimed this yet.
feedback provided
- Dominant language
- Java
- Stars
- 9.8k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 41
Description
I have a full working configuration ok for spring boot which correctly propagate traceid from feign client to server, but when pass this to native AOT compilation it stops working:
- @Observed annotation must be forced on Feign Client when it was not needed in SB3
- traceid are not propagated
looks like something is done by Aspect or Reflection or something not correctly processed on AOT
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Spring Boot 3 Feign client configuration described in the issue under native AOT compilation, then compare tracing behavior with the working JVM build. The issue is done when trace IDs propagate from the Feign client to the server without requiring a forced @Observed annotation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend-api-design, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100