public interface TraceDetails
InstrumentationContextManager, they can add
TraceDetails for methods to the InstrumentationContext. After all of the registered transformers have
passed over the bytecode, the TraceClassVisitor injects calls into the methods with TraceDetails to create
tracers.
Use TraceDetailsBuilder to create a new TraceDetails instance.InstrumentationContext,
TraceClassVisitor,
TraceMethodVisitor,
Instrumentation.createTracer(java.lang.Object, int, java.lang.String, int)| Modifier and Type | Method and Description |
|---|---|
boolean |
async()
If true, transaction creation will be deferred
|
boolean |
dispatcher()
If true, a dispatcher tracer will be generated.
|
boolean |
excludeFromTransactionTrace()
This means the transaction trace is still present, but this method will be excluded from the call graph.
|
java.lang.String |
getFullMetricName(java.lang.String className,
java.lang.String methodName) |
java.util.List<ParameterAttributeName> |
getParameterAttributeNames()
Returns a list of method parameter attribute names.
|
boolean |
ignoreTransaction()
This means the whole transaction will be ignored, regardless of how far the code is into the transaction.
|
java.util.List<java.lang.String> |
instrumentationSourceNames()
The name of the instrumentation source such as the weave package implementation title, the custom xml name, the
pointcut name, etc.
|
java.util.List<com.newrelic.agent.instrumentation.InstrumentationType> |
instrumentationTypes()
The type of instrumentation that generated this trace.
|
boolean |
isCustom()
Returns true if this instrumentation was user generated.
|
boolean |
isLeaf() |
boolean |
isWebTransaction() |
java.lang.String |
metricName() |
java.lang.String |
metricPrefix() |
java.lang.String[] |
rollupMetricName() |
java.lang.String |
tracerFactoryName()
The tracer factory name.
|
TransactionName |
transactionName() |
java.lang.String metricName()
Trace.metricName()java.lang.String[] rollupMetricName()
boolean dispatcher()
boolean async()
TransactionName transactionName()
java.lang.String tracerFactoryName()
Instrumentation.createTracer(Object, int, String, int)boolean excludeFromTransactionTrace()
Trace.excludeFromTransactionTrace()java.lang.String metricPrefix()
java.lang.String getFullMetricName(java.lang.String className,
java.lang.String methodName)
boolean ignoreTransaction()
java.util.List<com.newrelic.agent.instrumentation.InstrumentationType> instrumentationTypes()
InstrumentationType,
InstrumentedMethod.instrumentationTypes()java.util.List<java.lang.String> instrumentationSourceNames()
InstrumentedMethod.instrumentationNames()boolean isCustom()
boolean isLeaf()
Trace.leaf()boolean isWebTransaction()
java.util.List<ParameterAttributeName> getParameterAttributeNames()