Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SpanContext.php

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

SpanContext

Namespace

OpenTelemetry\API\Trace

Code

public static function createFromRemoteParent(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null) : SpanContextInterface {
    return new self($traceId, $spanId, $traceFlags, true, $traceState);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal