Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
762 views

spring cloud gateway integrate spring cloud sleuth is 22% slower than using spring cloud gateway alone

When I use spring cloud gateway to integrate spring cloud sleuth, I find that the performance is much slower than using spring cloud gateway alone. Is there any optimization scheme? Machine ...
yanglaoda's user avatar
3 votes
1 answer
7k views

How to use TraceContext to set a traceId in Spring Sleuth and brave?

I need to set the traceId with an existing Id (we have created some kind of correlation-id from the main origin app) into brave tracer. I don't want to use the Spring Sleuth/brave created one as I ...
user8479984's user avatar
0 votes
3 answers
9k views

Setting a Span's trace id in Brave vs. Sleuth

I'm looking for the proper way to set the trace-id for a Span in Brave. Pre-Brave we had: Span span = Span.builder().traceId(someLong).build(); What's the brave equivalent? I have the following, but ...
blackcompe's user avatar
  • 3,190