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

Breadcrumb

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

function NoopTracer::spanBuilder

Overrides TracerInterface::spanBuilder

File

vendor/open-telemetry/api/Trace/NoopTracer.php, line 22

Class

NoopTracer

Namespace

OpenTelemetry\API\Trace

Code

public function spanBuilder(string $spanName) : SpanBuilderInterface {
    return new NoopSpanBuilder(Context::storage());
}

API Navigation

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