function SpanContext::createFromRemoteParent
@inheritDoc
Overrides SpanContextInterface::createFromRemoteParent
1 call to SpanContext::createFromRemoteParent()
- TraceContextPropagator::extractImpl in vendor/
open-telemetry/ api/ Trace/ Propagation/ TraceContextPropagator.php
File
-
vendor/
open-telemetry/ api/ Trace/ SpanContext.php, line 84
Class
Namespace
OpenTelemetry\API\TraceCode
public static function createFromRemoteParent(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null) : SpanContextInterface {
return new self($traceId, $spanId, $traceFlags, true, $traceState);
}