Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
zipkin: convert boolean tag to string
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed Oct 8, 2019
1 parent b5bf5c5 commit e5b8b5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Tracing/Exporter/ZipkinExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public function convert(Span $span) : array
if (!array_key_exists('tags', $row)) {
$row['tags'] = [];
}
if (is_bool($v)) {
$v = (string) $v;
}
$row['tags'][$k] = $v;
}

Expand Down

0 comments on commit e5b8b5e

Please sign in to comment.