generateTracingContext function

TracingContext generateTracingContext(
  1. bool sampled
)

Generate a tracing context

Implementation

TracingContext generateTracingContext(bool sampled) {
  return TracingContext(TracingId.traceId(), TracingId.spanId(), null, sampled);
}