in src/trace/context/SegmentRef.ts [24:41]
private constructor(
public refType: 'CrossProcess' | 'CrossThread' = 'CrossProcess',
public traceId: ID,
public segmentId: ID,
public spanId: number,
public service: string,
public serviceInstance: string,
public endpoint: string,
public clientAddress: string,
) {
this.traceId = traceId;
this.segmentId = segmentId;
this.spanId = spanId;
this.service = service;
this.serviceInstance = serviceInstance;
this.endpoint = endpoint;
this.clientAddress = clientAddress;
}