public class TransactionData
extends java.lang.Object
| Constructor and Description |
|---|
TransactionData(Transaction transaction,
int transactionSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
generatePathHash() |
java.util.Map<java.lang.String,java.lang.Object> |
getAgentAttributes() |
AgentConfig |
getAgentConfig() |
java.lang.String |
getAlternatePathHashes() |
com.newrelic.agent.model.ApdexPerfZone |
getApdexPerfZone() |
java.lang.String |
getApplicationName() |
java.lang.String |
getBlameMetricName() |
java.lang.String |
getBlameOrRootMetricName() |
Dispatcher |
getDispatcher() |
long |
getDurationInMillis()
Get the duration of the transaction in milliseconds.
|
long |
getEndTimeInNanos()
Get the end time of the transaction in nanoseconds.
|
java.util.Map<java.lang.String,?> |
getErrorAttributes() |
java.lang.String |
getGuid() |
DistributedTracePayloadImpl |
getInboundDistributedTracePayload() |
com.newrelic.api.agent.Insights |
getInsightsData() |
java.util.Map<java.lang.String,java.lang.Object> |
getInternalParameters() |
java.util.Map<java.lang.String,java.lang.Object> |
getIntrinsicAttributes() |
long |
getLargestTransportDurationInMillis() |
long |
getLegacyDuration()
Returns the transaction duration in nanoseconds.
|
com.newrelic.api.agent.Logs |
getLogEventData() |
java.lang.String |
getParentAccountId() |
java.lang.String |
getParentApp() |
java.lang.String |
getParentId() |
java.lang.String |
getParentSpanId() |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getPrefixedAttributes() |
float |
getPriority() |
PriorityTransactionName |
getPriorityTransactionName() |
java.lang.String |
getReferrerGuid() |
java.lang.Integer |
getReferringPathHash() |
java.lang.String |
getRequestUri(java.lang.String destination) |
int |
getResponseStatus() |
Tracer |
getRootTracer() |
SlowQueryListener |
getSlowQueryListener()
Returns the SlowQueryListener if it was used during the transaction, otherwise null.
|
SpanProxy |
getSpanProxy() |
long |
getStartTimeInNanos()
Get the start time of the transaction in nanoseconds.
|
java.lang.String |
getStatusMessage() |
java.lang.String |
getSyntheticsJobId() |
java.lang.String |
getSyntheticsMonitorId() |
java.lang.String |
getSyntheticsResourceId() |
TransactionThrowable |
getThrowable() |
com.newrelic.agent.model.TimeoutCause |
getTimeoutCause() |
long |
getTimeToFirstByteDurationNs() |
long |
getTimeToLastByteDurationNs() |
java.lang.String |
getTraceId() |
java.util.Collection<Tracer> |
getTracers() |
Transaction |
getTransaction() |
java.util.Set<TransactionActivity> |
getTransactionActivities() |
long |
getTransactionDuration()
Returns the wall clock time of the transaction.
|
protected int |
getTransactionSize()
A rough approximation of the transaction size (how much memory we are using with our tracers)
|
TransactionTimer |
getTransactionTime() |
TransactionTracerConfig |
getTransactionTracerConfig() |
long |
getTransportDurationInMillis() |
com.newrelic.api.agent.TransportType |
getTransportType() |
java.lang.String |
getTripId() |
java.util.Map<java.lang.String,java.lang.Object> |
getUserAttributes() |
W3CTraceParent |
getW3CTraceParent() |
long |
getWallClockStartTimeMs()
Get the start time of the transaction (wall clock time).
|
boolean |
hasReportableErrorThatIsNotIgnored() |
boolean |
isSyntheticTransaction()
Returns true if this transaction was originated by New Relic Synthetics.
|
boolean |
isWebTransaction()
Returns true if this is a web transaction.
|
java.lang.String |
parentType() |
boolean |
sampled() |
java.lang.String |
toString() |
public TransactionData(Transaction transaction, int transactionSize)
public Transaction getTransaction()
public com.newrelic.api.agent.Insights getInsightsData()
public com.newrelic.api.agent.Logs getLogEventData()
public Dispatcher getDispatcher()
public TransactionTimer getTransactionTime()
public Tracer getRootTracer()
public java.util.Collection<Tracer> getTracers()
public java.util.Set<TransactionActivity> getTransactionActivities()
public long getWallClockStartTimeMs()
public long getStartTimeInNanos()
public long getEndTimeInNanos()
public java.lang.String getRequestUri(java.lang.String destination)
public int getResponseStatus()
public java.lang.String getStatusMessage()
public java.lang.String getApplicationName()
public AgentConfig getAgentConfig()
public TransactionTracerConfig getTransactionTracerConfig()
public java.util.Map<java.lang.String,java.lang.Object> getInternalParameters()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getPrefixedAttributes()
public java.util.Map<java.lang.String,java.lang.Object> getUserAttributes()
public java.util.Map<java.lang.String,java.lang.Object> getAgentAttributes()
public java.util.Map<java.lang.String,?> getErrorAttributes()
public java.util.Map<java.lang.String,java.lang.Object> getIntrinsicAttributes()
public PriorityTransactionName getPriorityTransactionName()
public java.lang.String getBlameMetricName()
public java.lang.String getBlameOrRootMetricName()
public TransactionThrowable getThrowable()
public boolean hasReportableErrorThatIsNotIgnored()
protected final int getTransactionSize()
public long getDurationInMillis()
public long getLegacyDuration()
public long getTransactionDuration()
public long getTimeToFirstByteDurationNs()
public long getTimeToLastByteDurationNs()
public java.lang.String getGuid()
public java.lang.String getReferrerGuid()
public java.lang.String getTripId()
public int generatePathHash()
public java.lang.Integer getReferringPathHash()
public java.lang.String getAlternatePathHashes()
public java.lang.String getSyntheticsResourceId()
public java.lang.String getSyntheticsJobId()
public java.lang.String getSyntheticsMonitorId()
public com.newrelic.agent.model.ApdexPerfZone getApdexPerfZone()
public java.lang.String parentType()
public java.lang.String getParentApp()
public java.lang.String getParentAccountId()
public long getTransportDurationInMillis()
public java.lang.String getParentId()
public java.lang.String getParentSpanId()
public float getPriority()
public W3CTraceParent getW3CTraceParent()
public DistributedTracePayloadImpl getInboundDistributedTracePayload()
public boolean isWebTransaction()
public boolean isSyntheticTransaction()
public SlowQueryListener getSlowQueryListener()
public java.lang.String toString()
toString in class java.lang.Objectpublic com.newrelic.agent.model.TimeoutCause getTimeoutCause()
public com.newrelic.api.agent.TransportType getTransportType()
public long getLargestTransportDurationInMillis()
public boolean sampled()
public SpanProxy getSpanProxy()
public java.lang.String getTraceId()