It seems that we must stringify our ints before setting them in order
for them to actually get sent 😬 Without this, offsets won't get applied
to spans sent via proto.
To see this in action:
Emit spans over protobuf using an earlier version of the JS tracer
Open the trace in LightStep
Using the network tools, inspect the response body containing the
trace
Observe that the JS spans all have timestamp_offset == 0
Repeat steps 1-3 using the fixed tracer
Observe that after the fix, timestamp_offset is no longer always 0
It seems that we must stringify our ints before setting them in order for them to actually get sent 😬 Without this, offsets won't get applied to spans sent via proto.
To see this in action:
timestamp_offset
== 0timestamp_offset
is no longer always 0