* @readonly */ public array $explicitBounds; /** * @readonly */ public AttributesInterface $attributes; /** * @readonly */ public int $startTimestamp; /** * @readonly */ public int $timestamp; /** * @readonly */ public iterable $exemplars = []; /** * @param float|int $sum * @param float|int $min * @param float|int $max * @param int[] $bucketCounts * @param list $explicitBounds */ public function __construct(int $count, $sum, $min, $max, array $bucketCounts, array $explicitBounds, AttributesInterface $attributes, int $startTimestamp, int $timestamp, iterable $exemplars = []) { $this->count = $count; $this->sum = $sum; $this->min = $min; $this->max = $max; $this->bucketCounts = $bucketCounts; $this->explicitBounds = $explicitBounds; $this->attributes = $attributes; $this->startTimestamp = $startTimestamp; $this->timestamp = $timestamp; $this->exemplars = $exemplars; } }