21 lines
351 B
PHP
21 lines
351 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace OpenTelemetry\SDK\Metrics\Data;
|
||
|
|
||
|
/**
|
||
|
* Metric aggregation temporality.
|
||
|
*
|
||
|
* Has to be type-hinted as `string|Temporality` to be forward compatible.
|
||
|
*/
|
||
|
final class Temporality
|
||
|
{
|
||
|
public const DELTA = 'Delta';
|
||
|
public const CUMULATIVE = 'Cumulative';
|
||
|
|
||
|
private function __construct()
|
||
|
{
|
||
|
}
|
||
|
}
|