Package io.micrometer.tracing.internal
Class DefaultSpanNamer
java.lang.Object
io.micrometer.tracing.internal.DefaultSpanNamer
- All Implemented Interfaces:
SpanNamer
Default implementation of SpanNamer that tries to get the span name as follows:
* from the @SpanName annotation on the class if one is present.
* from the @SpanName annotation on the method if passed object is of a Method.
type
* from the toString() of the delegate if it's not the default
Object.toString().
* the default provided value.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultSpanNamer
public DefaultSpanNamer()
-
-
Method Details
-
name
Description copied from interface:SpanNamerRetrieves the span name for the given object.
-