chore: Update ObservationHelper to allow sampling of spans (#37345)
This commit is contained in:
parent
91cf54ba47
commit
8773bdd1e9
|
|
@ -32,6 +32,7 @@ public class ObservationHelperImpl implements ObservationHelper {
|
|||
return Span.NOOP;
|
||||
} else {
|
||||
TraceContext traceContext = tracer.traceContextBuilder()
|
||||
.sampled(true)
|
||||
.traceId(contextMap.get(TRACE_ID))
|
||||
.spanId(contextMap.get(SPAN_ID))
|
||||
.build();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user