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

Breadcrumb

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

function SpanBuilder::__construct

Parameters

non-empty-string $spanName :

File

vendor/open-telemetry/sdk/Trace/SpanBuilder.php, line 31

Class

SpanBuilder

Namespace

OpenTelemetry\SDK\Trace

Code

public function __construct(string $spanName, InstrumentationScopeInterface $instrumentationScope, TracerSharedState $tracerSharedState) {
    $this->attributesBuilder = $this->tracerSharedState
        ->getSpanLimits()
        ->getAttributesFactory()
        ->builder();
}

API Navigation

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