diff --git a/src/Jaeger/Span.php b/src/Jaeger/Span.php index 8c2e05c..0e306da 100644 --- a/src/Jaeger/Span.php +++ b/src/Jaeger/Span.php @@ -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,