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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    x The name of the span which will be created.
  • Element Details

    • value

      String value
      x The name of the span which will be created. Default is "className"."method"
      Returns:
      the key to use for the tag
      Default:
      ""