jaeger-client-php icon indicating copy to clipboard operation
jaeger-client-php copied to clipboard

tag values are limited to 1024 chars

Open maiermic opened this issue 4 years ago • 0 comments

Tag values of type string are limited to 1024 characters (see src/Jaeger/Span.php). No error or warning is logged, when this happens, which would be helpful.

Is there a specific reason for this hard limit? The Go client made it configurable. Is this possible in the PHP client, too?


My use case is tracing SQL queries. A recommended best practice is to add the query string as db.statement. Many of them have ca. 1200 characters and some have ca. 4000-6000 characters.

maiermic avatar Oct 02 '21 15:10 maiermic