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

Breadcrumb

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

interface MetricWriterInterface

@internal

Hierarchy

  • interface \OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface

Expanded class hierarchy of MetricWriterInterface

All classes that implement MetricWriterInterface

7 files declare their use of MetricWriterInterface
AsynchronousInstruments.php in vendor/open-telemetry/sdk/Metrics/AsynchronousInstruments.php
Meter.php in vendor/open-telemetry/sdk/Metrics/Meter.php
MeterProvider.php in vendor/open-telemetry/sdk/Metrics/MeterProvider.php
ObservableCallback.php in vendor/open-telemetry/sdk/Metrics/ObservableCallback.php
ObservableCallbackDestructor.php in vendor/open-telemetry/sdk/Metrics/ObservableCallbackDestructor.php

... See full list

File

vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricWriterInterface.php, line 13

Namespace

OpenTelemetry\SDK\Metrics\MetricRegistry
View source
interface MetricWriterInterface {
    public function record(Instrument $instrument, $value, iterable $attributes = [], $context = null) : void;
    public function registerCallback(Closure $callback, Instrument $instrument, Instrument ...$instruments) : int;
    public function unregisterCallback(int $callbackId) : void;
    public function enabled(Instrument $instrument) : bool;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
MetricWriterInterface::enabled public function 1
MetricWriterInterface::record public function 1
MetricWriterInterface::registerCallback public function 1
MetricWriterInterface::unregisterCallback public function 1

API Navigation

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