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

Breadcrumb

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

interface ObservableUpDownCounterInterface

Hierarchy

  • interface \OpenTelemetry\API\Metrics\Instrument
    • interface \OpenTelemetry\API\Metrics\AsynchronousInstrument extends \OpenTelemetry\API\Metrics\Instrument
      • interface \OpenTelemetry\API\Metrics\ObservableUpDownCounterInterface extends \OpenTelemetry\API\Metrics\AsynchronousInstrument

Expanded class hierarchy of ObservableUpDownCounterInterface

All classes that implement ObservableUpDownCounterInterface

4 files declare their use of ObservableUpDownCounterInterface
Meter.php in vendor/open-telemetry/sdk/Metrics/Meter.php
NoopMeter.php in vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php
NoopObservableUpDownCounter.php in vendor/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php
ObservableUpDownCounter.php in vendor/open-telemetry/sdk/Metrics/ObservableUpDownCounter.php

File

vendor/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php, line 7

Namespace

OpenTelemetry\API\Metrics
View source
interface ObservableUpDownCounterInterface extends AsynchronousInstrument {
    
    /**
     * @param callable(ObserverInterface): void $callback function responsible for
     *        reporting the measurements (as absolute values)
     * @return ObservableCallbackInterface token to detach callback
     */
    public function observe(callable $callback) : ObservableCallbackInterface;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ObservableUpDownCounterInterface::observe public function 1

API Navigation

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