public interface Agent
Modifier and Type | Method and Description |
---|---|
Config |
getConfig()
Returns the agent's configuration.
|
Insights |
getInsights()
Provides access to the Insights custom events API.
|
java.util.Map<java.lang.String,java.lang.String> |
getLinkingMetadata()
Returns an opaque map of key/value pairs that can be used to correlate this application in the New Relic backend.
|
Logger |
getLogger()
Returns a logger that logs to the New Relic Java agent log file.
|
MetricAggregator |
getMetricAggregator()
Returns a metric aggregator that can be used to record metrics that can be viewed through custom dashboards.
|
TracedMethod |
getTracedMethod()
Returns the current traced method.
|
TraceMetadata |
getTraceMetadata()
Provides access to the Trace Metadata API for details about the currently executing distributed trace.
|
Transaction |
getTransaction()
Returns the current transaction.
|
TracedMethod getTracedMethod()
Trace
Transaction getTransaction()
Logger getLogger()
Config getConfig()
MetricAggregator getMetricAggregator()
Insights getInsights()
TraceMetadata getTraceMetadata()
java.util.Map<java.lang.String,java.lang.String> getLinkingMetadata()