diff options
Diffstat (limited to 'vendor/open-telemetry/sdk/Metrics/Data/Gauge.php')
-rw-r--r-- | vendor/open-telemetry/sdk/Metrics/Data/Gauge.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Metrics/Data/Gauge.php b/vendor/open-telemetry/sdk/Metrics/Data/Gauge.php new file mode 100644 index 000000000..00eb50939 --- /dev/null +++ b/vendor/open-telemetry/sdk/Metrics/Data/Gauge.php @@ -0,0 +1,22 @@ +<?php + +declare(strict_types=1); + +namespace OpenTelemetry\SDK\Metrics\Data; + +final class Gauge implements DataInterface +{ + + /** + * @var iterable<NumberDataPoint> + * @readonly + */ + public iterable $dataPoints; + /** + * @param iterable<NumberDataPoint> $dataPoints + */ + public function __construct(iterable $dataPoints) + { + $this->dataPoints = $dataPoints; + } +} |