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

Breadcrumb

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

class NoopMeterProvider

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

Hierarchy

  • class \OpenTelemetry\API\Metrics\Noop\NoopMeterProvider implements \OpenTelemetry\API\Metrics\MeterProviderInterface

Expanded class hierarchy of NoopMeterProvider

2 files declare their use of NoopMeterProvider
Configurator.php in vendor/open-telemetry/api/Instrumentation/Configurator.php
Context.php in vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/Context.php

File

vendor/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php, line 10

Namespace

OpenTelemetry\API\Metrics\Noop
View source
final class NoopMeterProvider implements MeterProviderInterface {
    public function getMeter(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []) : MeterInterface {
        return new NoopMeter();
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NoopMeterProvider::getMeter public function Returns a `Meter` for the given instrumentation scope. Overrides MeterProviderInterface::getMeter

API Navigation

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