Package org.springframework.cloud.sleuth
Interface SpanNamer
-
public interface SpanNamer
Describes 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 String
name(Object object, String defaultValue)
Retrieves the span name for the given object.
-