Annotation Type DisableTestTrace


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface DisableTestTrace
Set this annotation to a test method so the dd-java-agent does not consider it for tracing. This annotation must be only used in test framework instrumentation tests to avoid self-tracing of the test itself.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The reason of why test trace has been disable for that test.
  • Element Details

    • reason

      String reason
      The reason of why test trace has been disable for that test.
      Default:
      ""