diff options
Diffstat (limited to 'vendor/open-telemetry/api/Trace/SpanKind.php')
-rw-r--r-- | vendor/open-telemetry/api/Trace/SpanKind.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/open-telemetry/api/Trace/SpanKind.php b/vendor/open-telemetry/api/Trace/SpanKind.php new file mode 100644 index 000000000..f44339e00 --- /dev/null +++ b/vendor/open-telemetry/api/Trace/SpanKind.php @@ -0,0 +1,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; +} |