Span (@NotNull String spanName, Function<SpanBuilder, SpanBuilder> action) { return spans.computeIfAbsent(spanName, (name) -> action.apply(tracer.spanBuilder(spanName, TracerLevel.DEFAULT)).startSpan()); }