@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Trace
TracedMethod| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
NULL
Deprecated.
No replacement. Do not use this.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
async
Tells the agent that this method is asynchronous and that it should be traced if the method is linked to an
existing transaction.
|
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
Deprecated.
Use (
excludeFromTransactionTrace()) instead. |
java.lang.String |
tracerFactoryName
Deprecated.
Do not use.
|
@Deprecated public static final java.lang.String NULL
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
excludeFromTransactionTrace()) instead.public abstract boolean excludeFromTransactionTrace
public abstract boolean leaf
excludeFromTransactionTrace()) the agent
can create a tracer with lower overhead.