Reputation: 59
We want to add a tracer id(MDC) across multiple REST services as part of the logging, so we can follow all calls in our log based on the id.
Is Spring sleuth suitable for using as distributed logging framework with 100% sampling all the time, or are we misusing it?
We are concerned about the overhead with 100% sampling
Upvotes: 0
Views: 110
Reputation: 11169
Yes you can. You can modify the percentage at runtime if necessary. We wouldn't be building a tool that is not suitable for distributed systems.
Upvotes: 1