this.flags = flags;
}
@Override
public Map<String, Object> process(Map<String, Object> record) {
TraceBuilder traceBuilder = tracer.getHandler();
int traceId = symbolRegistry.symbolId(ObjectInspector.substitute(traceName, record));
traceBuilder.traceBegin(traceId, System.currentTimeMillis(), flags);
if (minimumTraceTime >= 0) {
traceBuilder.setMinimumTraceTime(minimumTraceTime);
}
return record;
}