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

Breadcrumb

  1. Drupal Core 11.1.x

ObservableGaugeInterface.php

Namespace

OpenTelemetry\API\Metrics

File

vendor/open-telemetry/api/Metrics/ObservableGaugeInterface.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Metrics;

interface ObservableGaugeInterface extends AsynchronousInstrument {
    
    /**
     * @param callable(ObserverInterface): void $callback function responsible for
     *        reporting the measurements
     * @return ObservableCallbackInterface token to detach callback
     */
    public function observe(callable $callback) : ObservableCallbackInterface;

}

Interfaces

Title Deprecated Summary
ObservableGaugeInterface

API Navigation

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