TraceContext constructor

TraceContext({
  1. String? traceId,
  2. String? spanId,
})

Implementation

TraceContext({String? traceId, String? spanId})
    : traceId = traceId ?? HttpClientUtils.generateTraceId(),
      spanId = spanId ?? HttpClientUtils.generateSpanId();