Package io.micronaut.tracing.annotation
Annotation Interface NewSpan
@Retention(RUNTIME)
@Inherited
@Target({METHOD,ANNOTATION_TYPE})
@InterceptorBinding(kind=AROUND)
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.
- Since:
- 1.0
- Author:
- graemerocher
-
Optional Element Summary
-
Element Details
-
value
String valuex The name of the span which will be created. Default is "className"."method"- Returns:
- the key to use for the tag
- Default:
- ""
-