Span (String name) { long eventId = Tracer.eventId.getAndIncrement(); long threadId = Thread.currentThread().getId(); long startNs = System.nanoTime(); return new Span(eventId, threadId, name, startNs); }