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.
|
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.
|
Transaction |
getTransaction()
Returns the current transaction, creating one if it doesn't currently exist.
|
TracedMethod getTracedMethod()
Trace
Transaction getTransaction()
Logger getLogger()
Config getConfig()
MetricAggregator getMetricAggregator()
Insights getInsights()