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

Breadcrumb

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

function CachedInstrumentation::__construct

@psalm-suppress PropertyTypeCoercion

File

vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php, line 40

Class

CachedInstrumentation
Provides access to cached {@link TracerInterface} and {@link MeterInterface} instances.

Namespace

OpenTelemetry\API\Instrumentation

Code

public function __construct(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []) {
    $this->tracers = new \WeakMap();
    $this->meters = new \WeakMap();
    $this->loggers = new \WeakMap();
    $this->eventLoggers = new \WeakMap();
}

API Navigation

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