summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/api/Trace/SpanKind.php
blob: f44339e009035ba54129b2e49478b84a90de2e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types=1);

namespace OpenTelemetry\API\Trace;

/**
 * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#spankind
 */
interface SpanKind
{
    public const KIND_INTERNAL = 0;
    public const KIND_CLIENT = 1;
    public const KIND_SERVER = 2;
    public const KIND_PRODUCER = 3;
    public const KIND_CONSUMER = 4;
}