ttrss/vendor/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php

16 lines
282 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Trace\SpanExporter;
use OpenTelemetry\SDK\Trace\SpanConverterInterface;
class NullSpanConverter implements SpanConverterInterface
{
public function convert(iterable $spans): array
{
return [[]];
}
}