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