startTrace(fields, traceId, parentSpanId, dataset, propagatedContext) {
    const id = traceId || generateTraceId();

    // initialize an async hook
    tracker.setTracked({
      id,
      traceContext: propagatedContext,
      rollupContext: {},
      stack: [],
      dataset: dataset || this.defaultDataset,
    });
    return this.startSpan(fields, undefined, parentSpanId);
  }
// fields and propagatedContext are both objects
fields and propagatedContext are both objects
fields and propagatedContext are both objects
startTrace(fields, traceId, parentSpanId, dataset, propagatedContext) {
    const id = traceId || generateTraceId();
    tracker.setTracked({
      id,
      traceContext: propagatedContext,
      rollupContext: {},
      stack: [],
      dataset: dataset || this.defaultDataset,
    });
    return this.startSpan(fields, undefined, parentSpanId);
  }
startTrace ( fields , traceId , parentSpanId , dataset , propagatedContext ) { const id = traceId || generateTraceId ( ) ; tracker . setTracked ( { id , traceContext : propagatedContext , rollupContext : { } , stack : [ ] , dataset : dataset || this . defaultDataset , } ) ; return this . startSpan ( fields , undefined , parentSpanId ) ; }
fields and propagatedContext are both objects
fields and propagatedContext are both objects
// initialize an async hook