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
- interface \OpenTelemetry\API\Metrics\SynchronousInstrument extends \OpenTelemetry\API\Metrics\Instrument
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\MetricsView 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 |