Closed
Description
Is your feature request related to a problem? Please describe.
I'm trying to log a JSON field "sampled": true
when the current trace is sampled.
Describe the solution you'd like
It would be great if org.springframework.cloud.sleuth.TraceContext
could expose the isSampled()
Method found in BraveTraceContext
.
Describe alternatives you've considered
Im 3.0.0-M5 i casted the TraceContext
to BraveTraceContext
but this is no longer possible, as BraveTraceContext
is now package protected.