Skip to content

same Trace ID is not propagated in spring boot 3 #34821

@pulsar-gupta

Description

@pulsar-gupta

I have 2 spring boot 3 apps ; first spring boot app is calling second app, both the apps are generating trace id but it is not same.
I am using rest template to call api's.

io.micrometer micrometer-tracing-bridge-otel

2023-03-30 18:05:44,146 INFO 27964 --- [http-nio-8080-exec-1] INFO [model-microservice, c8fbc38554bcbd8254196a78c8f787fa, 53aba1b9c1f23476] com.sascia.modelmicroservice.controller.Controller.one(83) : Send API called

2023-03-30 18:05:44,050 INFO 22544 --- [http-nio-8081-exec-1] INFO [microservice, aa8e748aa9d0ea493ace7f5c3a8571af, 5cff6acc1680a6ab] com.sascia.modelmicroservice.controller.Controller.getTwo(92) : called 2
2023-03-30 18:05:44,160 INFO 22544 --- [http-nio-8081-exec-1] INFO [microservice, aa8e748aa9d0ea493ace7f5c3a8571af, 5cff6acc1680a6ab] com.sascia.modelmicroservice.controller.Controller.getTwo(104) : Reply = 0ne

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions