fharms
fharms

Reputation: 59

Can Spring Sleuth be used as distributed logging framework

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

Answers (1)

Marcin Grzejszczak
Marcin Grzejszczak

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

Related Questions