function CounterInterface::add
Parameters
float|int $amount non-negative amount to increment by:
iterable<non-empty-string, string|bool|float|int|array|null> $attributes: attributes of the data point
See also
https://github.com/open-telemetry/opentelemetry-specification/blob/main…
1 method overrides CounterInterface::add()
- NoopCounter::add in vendor/
open-telemetry/ api/ Metrics/ Noop/ NoopCounter.php
File
-
vendor/
open-telemetry/ api/ Metrics/ CounterInterface.php, line 19
Class
Namespace
OpenTelemetry\API\MetricsCode
public function add(float|int $amount, iterable $attributes = [], ContextInterface|false|null $context = null) : void;