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

Breadcrumb

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

function ObservableGaugeInterface::observe

Parameters

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

Return value

ObservableCallbackInterface token to detach callback

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

File

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

Class

ObservableGaugeInterface

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