Interface SpanKindExtractor<REQUEST>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface SpanKindExtractor<REQUEST>
    Extractor or SpanKind. In most cases, the span kind will be constant for server or client requests, but you may need to implement a custom SpanKindExtractor if a framework can generate different kinds of spans, for example both HTTP and messaging spans.