in src/trace/context/ContextCarrier.ts [61:76]
set value(val) {
if (!val) {
return;
}
const parts = val.split('-');
if (parts.length != 8) {
return;
}
this.traceId = new ID(this.decode(parts[1]));
this.segmentId = new ID(this.decode(parts[2]));
this.spanId = Number.parseInt(parts[3], 10);
this.service = this.decode(parts[4]);
this.serviceInstance = this.decode(parts[5]);
this.endpoint = this.decode(parts[6]);
this.clientAddress = this.decode(parts[7]);
}