diff options
author | Andrew Dolgov <[email protected]> | 2023-10-20 17:12:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-20 21:13:39 +0300 |
commit | cdd7ad020e165fe680703b6d3319b908b682fb7a (patch) | |
tree | b51eb09b7b4587e8fbc5624ac8d88d28cfcd0b04 /vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php | |
parent | 45a9ff0c88cbd33892ff16ab837e9059937d656e (diff) |
jaeger-client -> opentelemetry
Diffstat (limited to 'vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php')
-rw-r--r-- | vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php b/vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php deleted file mode 100644 index c1af8dfc7..000000000 --- a/vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php +++ /dev/null @@ -1,67 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace OpenTracing; - -final class NoopSpan implements Span -{ - /** - * {@inheritdoc} - */ - public function getOperationName(): string - { - return 'noop_span'; - } - - /** - * {@inheritdoc} - */ - public function getContext(): SpanContext - { - return new NoopSpanContext(); - } - - /** - * {@inheritdoc} - */ - public function finish($finishTime = null): void - { - } - - /** - * {@inheritdoc} - */ - public function overwriteOperationName(string $newOperationName): void - { - } - - /** - * {@inheritdoc} - */ - public function setTag(string $key, $value): void - { - } - - /** - * {@inheritdoc} - */ - public function log(array $fields = [], $timestamp = null): void - { - } - - /** - * {@inheritdoc} - */ - public function addBaggageItem(string $key, string $value): void - { - } - - /** - * {@inheritdoc} - */ - public function getBaggageItem(string $key): ?string - { - return null; - } -} |