I'm using springboot 2.7.5 and spring cloud sleuth 3.1.5
I have a distributed system composed by more than 30 microservices. I have an Angular front-end deployed in a ngninx container and from this FE I call all my MS. I don't use an API GW
What I'd love to obtain by using sleuth is to be able in correlating all the MS an user used. As far as I know, sleuth is able in propagating the traceID and spanID between MS.
How can I configure sleuth in order to tell him: if in the request is present the header "my-correlation-id", this is your traceID and you must not generate it, you must add a span to it; if it's not present, generate a new trace id and send it back to the FE in a response header.
Is there any configuration I can use?
Note that it's not mandatory to me to use the header "my-correlation-id"; if sleuth already provides its own header I can use the provided header
Thank you
Angelo