When trying to link traces across separate systems (either linked via
HTTP calls or a message queue), having direct access to the TraceID and the
SpanID make it easier to serialize this properly and recreate a Link on
the receiving end.
This PR adds support for deconstructing a Span Context to get access to
these values.
I've added a couple of tests but they aren't all passing, so could use a
hand getting the test for establishing links to parent trace in shape.
When trying to link traces across separate systems (either linked via HTTP calls or a message queue), having direct access to the TraceID and the SpanID make it easier to serialize this properly and recreate a Link on the receiving end.
This PR adds support for deconstructing a Span Context to get access to these values.
I've added a couple of tests but they aren't all passing, so could use a hand getting the test for establishing links to parent trace in shape.