class Metric
Same name in this branch
- 11.1.x vendor/open-telemetry/sdk/Metrics/Data/Metric.php \OpenTelemetry\SDK\Metrics\Data\Metric
- 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php \Opentelemetry\Proto\Metrics\V1\Metric
@internal
@template T
Hierarchy
- class \OpenTelemetry\SDK\Metrics\Stream\Metric
Expanded class hierarchy of Metric
File
-
vendor/
open-telemetry/ sdk/ Metrics/ Stream/ Metric.php, line 15
Namespace
OpenTelemetry\SDK\Metrics\StreamView source
final class Metric {
/**
* @param array<AttributesInterface> $attributes
* @param array<T> $summaries
* @param array<Exemplar> $exemplars
*/
public function __construct(array $attributes, array $summaries, int $timestamp, array $exemplars = []) {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Metric::__construct | public | function |