Package 

Annotation Trace

  • All Implemented Interfaces:
    java.lang.annotation.Annotation

    @Retention(value = RUNTIME)@Target(value = METHOD) 
    public @interface Trace
    
                        

    Set this annotation to a method so the dd-java-agent considers it for tracing.

    • Method Summary

      Modifier and Type Method Description
      abstract String operationName() The operation name to set.
      abstract String resourceName() The resource name.
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • operationName

         abstract String operationName()

        The operation name to set. By default it takes the method's name

      • resourceName

         abstract String resourceName()

        The resource name. By default it uses the same value as the operation name