@Retention(value=RUNTIME)
@Inherited
@Target(value={METHOD,ANNOTATION_TYPE})
@Around
@Type(value=TraceInterceptor.class)
public @interface NewSpan
Indicates that a new Open Tracing span should be started.
Annotation inspired by Spring Sleuth but using Open Tracing and Micronaut AOP.
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
value
The name of the span which will be created.
|