Annotation Interface Trace


@Target(METHOD) @Retention(RUNTIME) public @interface Trace
The agent create local span if the method that annotation with Trace. The value of span operation name will fetch by operationName(). if the value of operationName() is blank string. the operation name will be set the class name + method name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • operationName

      String operationName
      Returns:
      operation name, the default value is blank string.
      Default:
      ""