Parse trace/span id as BigInteger rather than letting msgpack parse it
This commit is contained in:
parent
6b0e43b32d
commit
484d54d796
|
@ -17,6 +17,7 @@ import java.io.IOException;
|
|||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.math.BigInteger;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
@ -419,7 +420,7 @@ public class DDSpan implements Span, MutableSpan {
|
|||
public void serialize(
|
||||
final String value, final JsonGenerator gen, final SerializerProvider provider)
|
||||
throws IOException {
|
||||
gen.writeNumber(value);
|
||||
gen.writeNumber(new BigInteger(value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue