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.
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
     
  • 元素详细资料

    • operationName

      String operationName
      返回:
      operation name, the default value is blank string.
      默认值:
      ""