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

Breadcrumb

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

function ObservableUpDownCounterInterface::observe

Parameters

callable(ObserverInterface): void $callback function responsible for: reporting the measurements (as absolute values)

Return value

ObservableCallbackInterface token to detach callback

1 method overrides ObservableUpDownCounterInterface::observe()
NoopObservableUpDownCounter::observe in vendor/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php

File

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

Class

ObservableUpDownCounterInterface

Namespace

OpenTelemetry\API\Metrics

Code

public function observe(callable $callback) : ObservableCallbackInterface;

API Navigation

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