Package io.micrometer.tracing.annotation
Class DefaultNewSpanParser
java.lang.Object
io.micrometer.tracing.annotation.DefaultNewSpanParser
- All Implemented Interfaces:
NewSpanParser
Default implementation of the
NewSpanParser that parses only the span name.
Code ported from Spring Cloud Sleuth.- Since:
- 1.1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultNewSpanParser
public DefaultNewSpanParser()
-
-
Method Details
-
parse
Description copied from interface:NewSpanParserOverride to control the name and tags on an annotation-based span.- Specified by:
parsein interfaceNewSpanParser- Parameters:
pjp- method invocation annotated with new spannewSpan- meta data of the new spanspan- span to customize
-