Interface SpanNameExtractor<REQUEST>
-
- All Known Implementing Classes:
CodeSpanNameExtractor,DbClientSpanNameExtractor,HttpSpanNameExtractor,MessagingSpanNameExtractor,RpcSpanNameExtractor
- 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 SpanNameExtractor<REQUEST>
Extractor of the span name for a request. Where possible, an extractor based on semantic conventions returned from the factories in this class should be used. The most common reason to provide a custom implementation would be to apply the extractor for a particular semantic convention by first determining which convention applies to the request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringextract(REQUEST request)Returns the span name.
-