@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Trace
TracedMethod
Modifier and Type | Optional Element and Description |
---|---|
boolean |
async
An async tracer is a specialized dispatcher tracer.
|
boolean |
dispatcher
If true, this method will be considered the start of a transaction.
|
boolean |
excludeFromTransactionTrace
Excludes this traced method from transaction traces.
|
boolean |
leaf
A leaf tracer will not have any child tracers.
|
java.lang.String |
metricName
Sets the metric name for this tracer.
|
boolean |
nameTransaction
Names the current transaction using this tracer's metric name.
|
java.lang.String[] |
rollupMetricName
Specifies one or more rollup metrics names.
|
boolean |
skipTransactionTrace
Ignores the entire current transaction.
|
java.lang.String |
tracerFactoryName
Deprecated.
Do not use.
|
public abstract java.lang.String metricName
public abstract java.lang.String[] rollupMetricName
public abstract boolean dispatcher
public abstract boolean nameTransaction
public abstract java.lang.String tracerFactoryName
public abstract boolean skipTransactionTrace
public abstract boolean excludeFromTransactionTrace
public abstract boolean leaf
excludeFromTransactionTrace()
) the agent
can create a tracer with lower overhead.public abstract boolean async
Transaction#startAsyncActivity
API as the
first action of the traced method. This conventional sequence will cause the Activity encompassing the traced
method to become associated with the registering Transaction. Failure to observe this sequence of events will
result in undefined behavior from the Agent. This attribute should not be combined with the dispatcher,
nameTransaction, excludeFromTransactionTrace, skipTransactionTrace, or leaf attributes.
NR Internal Use Only