TODO: TUN-6604 Remove this. To reconstruct into Jaeger propagation format, convert tracingContext to tracing.Identity
()
| 24 | |
| 25 | // TODO: TUN-6604 Remove this. To reconstruct into Jaeger propagation format, convert tracingContext to tracing.Identity |
| 26 | func (tc *Identity) String() string { |
| 27 | return fmt.Sprintf("%016x%016x:%x:0:%x", tc.traceIDUpper, tc.traceIDLower, tc.spanID, tc.flags) |
| 28 | } |
| 29 | |
| 30 | func (tc *Identity) MarshalBinary() ([]byte, error) { |
| 31 | buf := bytes.NewBuffer(make([]byte, 0, IdentityLength)) |
no outgoing calls