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
    The name of the span which will be created.
  • Element Details

    • value

      String value
      The name of the span which will be created. Default is the annotated method's name separated by hyphens.
      Returns:
      the key to use for the tag
      Default:
      ""