Browse Source

KERNEL-14695 fix: 链路追踪Span是否可以忽略

final/11.0
Elijah 2 years ago
parent
commit
9e2a9e6fa5
  1. 5
      fine-skywalking-toolkit-trace/src/main/java/org/apache/skywalking/apm/toolkit/trace/Trace.java

5
fine-skywalking-toolkit-trace/src/main/java/org/apache/skywalking/apm/toolkit/trace/Trace.java

@ -35,4 +35,9 @@ public @interface Trace {
* @return operation name, the default value is blank string. * @return operation name, the default value is blank string.
*/ */
String operationName() default ""; String operationName() default "";
/**
* 是否可以被忽略
*/
boolean ignorable() default true;
} }

Loading…
Cancel
Save