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

Breadcrumb

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

function NoopMeter::createUpDownCounter

Overrides MeterInterface::createUpDownCounter

File

vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php, line 50

Class

NoopMeter

Namespace

OpenTelemetry\API\Metrics\Noop

Code

public function createUpDownCounter(string $name, ?string $unit = null, ?string $description = null, array $advisory = []) : UpDownCounterInterface {
    return new NoopUpDownCounter();
}

API Navigation

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