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

Breadcrumb

  1. Drupal Core 11.1.x

UpDownCounterInterface.php

Namespace

OpenTelemetry\API\Metrics

File

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

View source
<?php

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

use OpenTelemetry\Context\ContextInterface;
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;

}

Interfaces

Title Deprecated Summary
UpDownCounterInterface

API Navigation

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