Skip to content

Commit

Permalink
Allow decoration of zipkin span converter (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaguerre authored Apr 21, 2022
1 parent 5de0986 commit 9138d78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Contrib/Zipkin/Exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use JsonException;
use OpenTelemetry\SDK\Trace\Behavior\HttpSpanExporterTrait;
use OpenTelemetry\SDK\Trace\Behavior\UsesSpanConverterTrait;
use OpenTelemetry\SDK\Trace\SpanConverterInterface;
use OpenTelemetry\SDK\Trace\SpanExporterInterface;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestFactoryInterface;
Expand All @@ -34,7 +35,7 @@ public function __construct(
ClientInterface $client,
RequestFactoryInterface $requestFactory,
StreamFactoryInterface $streamFactory,
SpanConverter $spanConverter = null
SpanConverterInterface $spanConverter = null
) {
$this->setEndpointUrl($endpointUrl);
$this->setClient($client);
Expand Down

0 comments on commit 9138d78

Please sign in to comment.