Skip to content

Commit

Permalink
Merge pull request #37 from Vinelab/compatibility-fix
Browse files Browse the repository at this point in the history
Fix compatibility with Zipkin 3
  • Loading branch information
adiachenko authored Oct 28, 2021
2 parents 3bc1f92 + 29ad28a commit 42b9788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Zipkin/ZipkinTracer.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function flush(): void
protected function createReporter(): Reporter
{
if (!$this->reporter) {
return new HttpReporter(null, [
return new HttpReporter([
'endpoint_url' => sprintf('http://%s:%s/api/v2/spans', $this->host, $this->port),
'timeout' => $this->requestTimeout,
]);
Expand Down

0 comments on commit 42b9788

Please sign in to comment.