function SpanInterface::wrap
Returns a non-recording {It will not be exported and al tracing operations are no-op, but can be used to propagate a valid {
See also
SpanInterface} that hold the provided *$spanContext* but has no functionality.
SpanContext} downstream.
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6…
1 method overrides SpanInterface::wrap()
- Span::wrap in vendor/
open-telemetry/ api/ Trace/ Span.php - @inheritDoc
File
-
vendor/
open-telemetry/ api/ Trace/ SpanInterface.php, line 39
Class
Namespace
OpenTelemetry\API\TraceCode
public static function wrap(SpanContextInterface $spanContext) : SpanInterface;