@Retention(value=RUNTIME)
@Inherited
@Target(value={METHOD,ANNOTATION_TYPE})
@Type(value=io.micronaut.aop.InterceptorBinding.class)
@InterceptorBinding
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.
|