interface HistogramInterface
Hierarchy
- interface \OpenTelemetry\API\Metrics\Instrument
- interface \OpenTelemetry\API\Metrics\SynchronousInstrument extends \OpenTelemetry\API\Metrics\Instrument
- interface \OpenTelemetry\API\Metrics\HistogramInterface extends \OpenTelemetry\API\Metrics\SynchronousInstrument
- interface \OpenTelemetry\API\Metrics\SynchronousInstrument extends \OpenTelemetry\API\Metrics\Instrument
Expanded class hierarchy of HistogramInterface
All classes that implement HistogramInterface
4 files declare their use of HistogramInterface
- Histogram.php in vendor/
open-telemetry/ sdk/ Metrics/ Histogram.php - Meter.php in vendor/
open-telemetry/ sdk/ Metrics/ Meter.php - NoopHistogram.php in vendor/
open-telemetry/ api/ Metrics/ Noop/ NoopHistogram.php - NoopMeter.php in vendor/
open-telemetry/ api/ Metrics/ Noop/ NoopMeter.php
File
-
vendor/
open-telemetry/ api/ Metrics/ HistogramInterface.php, line 9
Namespace
OpenTelemetry\API\MetricsView source
interface HistogramInterface extends SynchronousInstrument {
/**
* @param float|int $amount non-negative amount to record
* @param iterable<non-empty-string, string|bool|float|int|array|null> $attributes
* attributes of the data point
* @param ContextInterface|false|null $context execution context
*
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#record
*/
public function record(float|int $amount, iterable $attributes = [], ContextInterface|false|null $context = null) : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
HistogramInterface::record | public | function | 1 |