com.signalfx.tracing.api.Trace Maven / Gradle / Ivy
package com.signalfx.tracing.api;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Set this annotation to a method so the dd-java-agent considers it for tracing.
*
* This is a clone of datadog.trace.api.Trace under a SignalFx rooted package.
*/
@Retention(RUNTIME)
@Target(METHOD)
public @interface Trace {
/** The operation name to set. By default it takes the method's name */
String operationName() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy