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

Breadcrumb

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

function Span::toSpanData

1 call to Span::toSpanData()
Span::checkForDroppedElements in vendor/open-telemetry/sdk/Trace/Span.php

File

vendor/open-telemetry/sdk/Trace/Span.php, line 283

Class

Span

Namespace

OpenTelemetry\SDK\Trace

Code

public function toSpanData() : SpanDataInterface {
    return new ImmutableSpan($this, $this->name, $this->links, $this->events, $this->attributesBuilder
        ->build(), $this->totalRecordedLinks, $this->totalRecordedEvents, $this->status, $this->endEpochNanos, $this->hasEnded);
}
RSS feed
Powered by Drupal