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

Breadcrumb

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

interface UpDownCounterInterface

Hierarchy

  • interface \OpenTelemetry\API\Metrics\Instrument
    • interface \OpenTelemetry\API\Metrics\SynchronousInstrument extends \OpenTelemetry\API\Metrics\Instrument
      • interface \OpenTelemetry\API\Metrics\UpDownCounterInterface extends \OpenTelemetry\API\Metrics\SynchronousInstrument

Expanded class hierarchy of UpDownCounterInterface

All classes that implement UpDownCounterInterface

4 files declare their use of UpDownCounterInterface
Meter.php in vendor/open-telemetry/sdk/Metrics/Meter.php
NoopMeter.php in vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php
NoopUpDownCounter.php in vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php
UpDownCounter.php in vendor/open-telemetry/sdk/Metrics/UpDownCounter.php

File

vendor/open-telemetry/api/Metrics/UpDownCounterInterface.php, line 9

Namespace

OpenTelemetry\API\Metrics
View source
interface UpDownCounterInterface extends SynchronousInstrument {
    
    /**
     * @param float|int $amount amount to increment / decrement by
     * @param iterable<non-empty-string, string|bool|float|int|array|null> $attributes
     *        attributes of the data point
     * @param ContextInterface|false|null $context execution context
     */
    public function add($amount, iterable $attributes = [], $context = null) : void;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
UpDownCounterInterface::add public function 1

API Navigation

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