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

Breadcrumb

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

function NoopMeter::createGauge

Overrides MeterInterface::createGauge

File

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

Class

NoopMeter

Namespace

OpenTelemetry\API\Metrics\Noop

Code

public function createGauge(string $name, ?string $unit = null, ?string $description = null, array $advisory = []) : GaugeInterface {
    return new NoopGauge();
}

API Navigation

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