mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Add IP address and port to serialized spans
This commit is contained in:
parent
98e6ba6962
commit
ecdb96a7b9
@ -175,10 +175,12 @@ protected:
|
||||
// fluentd filter to be able to correctly parse the updated format! See
|
||||
// the msgpack specification for more info on the bit patterns used
|
||||
// here.
|
||||
uint8_t size = 5;
|
||||
uint8_t size = 6;
|
||||
if (span.parents.size() == 0) --size;
|
||||
request.write_byte(size | 0b10010000); // write as array
|
||||
|
||||
serialize_string(g_network->getLocalAddress().toString(), request);
|
||||
|
||||
serialize_string(span.context.toString(), request);
|
||||
|
||||
serialize_value(span.begin, request, 0xcb);
|
||||
|
Loading…
x
Reference in New Issue
Block a user