lightstep / lightstep-tracer-php

The Lightstep distributed tracing library for PHP
https://lightstep.com
MIT License
13 stars 15 forks source link

An error is returned when logging error_flag as a boolean #52

Closed codeboten closed 4 years ago

codeboten commented 4 years ago

When using the default transport (json over HTTP) and setting a log using $span->infof("a log message") on the span, the span data reporting will fail with the following message:

Unable to decode body: json: cannot unmarshal bool into Go struct field KeyValue.span_records.log_records.fields.Value of type string