LittleEndian vs BigEndian in go agent

Hi,

is not it a problem to use LittleEndian and BigEndian on SpanID?

see:

Hi @euskadi31, welcome to the forum :slight_smile:

Keen eyes! The difference in endianness is not a problem.

In the first two cases we're just generating some random bytes, and it's been a while, but I think this was just the most efficient way to do it. In the sampler we're just interested in knowing whether the span ID, when converted to a number, is less than a predetermined value. They don't need to be consistent with each other.

ok, Thank you for your explanation :slightly_smiling_face:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.