summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Metrics/Data/Temporality.php
blob: b6642ebd0ed9cfdc31cd2172f0a56b27560bf0f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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()
    {
    }
}