ttrss/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php

23 lines
395 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics\Aggregation;
final class LastValueSummary
{
/**
* @var float|int|null
*/
public $value;
public int $timestamp;
/**
* @param float|int|null $value
*/
public function __construct($value, int $timestamp)
{
$this->value = $value;
$this->timestamp = $timestamp;
}
}