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

Breadcrumb

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

class NoopTracerProvider

Same name in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Trace/NoopTracerProvider.php \OpenTelemetry\SDK\Trace\NoopTracerProvider

Hierarchy

  • class \OpenTelemetry\API\Trace\NoopTracerProvider implements \OpenTelemetry\API\Trace\TracerProviderInterface

Expanded class hierarchy of NoopTracerProvider

3 files declare their use of NoopTracerProvider
Configurator.php in vendor/open-telemetry/api/Instrumentation/Configurator.php
Context.php in vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/Context.php
InstrumentationTrait.php in vendor/open-telemetry/api/Instrumentation/InstrumentationTrait.php

File

vendor/open-telemetry/api/Trace/NoopTracerProvider.php, line 7

Namespace

OpenTelemetry\API\Trace
View source
class NoopTracerProvider implements TracerProviderInterface {
    public function getTracer(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []) : TracerInterface {
        return NoopTracer::getInstance();
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NoopTracerProvider::getTracer public function Overrides TracerProviderInterface::getTracer

API Navigation

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