Package org.springframework.cloud.sleuth
Interface SpanNamer
-
public interface SpanNamerDescribes how for a given object a span should be named. In the vast majority of cases a name should be provided explicitly. In case of instrumentation where the name has to be resolved at runtime this interface will provide the name of the span.- Since:
- 1.0.0
- Author:
- Marcin Grzejszczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringname(Object object, String defaultValue)Retrieves the span name for the given object.
-