Skip to content

Commit

Permalink
Merge pull request #84 from enleur/patch-1
Browse files Browse the repository at this point in the history
Increase max tag value length to 1024
  • Loading branch information
sergeyklay authored Mar 3, 2020
2 parents 5ccc705 + 68aefc5 commit 7234395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Jaeger/Span.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ private function timestampMicro(): int
*/
private function makeStringTag(string $key, string $value): BinaryAnnotation
{
if (strlen($value) > 256) {
$value = substr($value, 0, 256);
if (strlen($value) > 1024) {
$value = substr($value, 0, 1024);
}
return new BinaryAnnotation([
'key' => $key,
Expand Down

0 comments on commit 7234395

Please sign in to comment.