ttrss/vendor/open-telemetry/api/Trace/SpanKind.php

18 lines
394 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?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;
}