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

Breadcrumb

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

class NoopHistogram

@internal

Hierarchy

  • class \OpenTelemetry\API\Metrics\Noop\NoopHistogram implements \OpenTelemetry\API\Metrics\HistogramInterface

Expanded class hierarchy of NoopHistogram

File

vendor/open-telemetry/api/Metrics/Noop/NoopHistogram.php, line 12

Namespace

OpenTelemetry\API\Metrics\Noop
View source
final class NoopHistogram implements HistogramInterface {
    public function record($amount, iterable $attributes = [], $context = null) : void {
        // no-op
    }
    public function isEnabled() : bool {
        return false;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NoopHistogram::isEnabled public function
NoopHistogram::record public function Overrides HistogramInterface::record

API Navigation

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