| Interface | Description |
|---|---|
| Agent |
The New Relic Java Agent's API.
|
| Config |
Provides access to agent configuration settings.
|
| DatastoreParameters.Build | |
| DatastoreParameters.CollectionParameter | |
| DatastoreParameters.DatabaseParameter | |
| DatastoreParameters.InstanceParameter | |
| DatastoreParameters.OperationParameter | |
| DatastoreParameters.SlowQueryParameter | |
| DatastoreParameters.SlowQueryWithInputParameter | |
| DistributedTracePayload |
Payload used to connect two services in a distributed system.
|
| ExternalParameters |
Interface for passing external parameters into the
TracedMethod's reportAsExternal. |
| GenericParameters.Build | |
| GenericParameters.ProcedureParameter | |
| GenericParameters.UriParameter | |
| HttpParameters.Build | |
| HttpParameters.InboundHeadersParameter | |
| HttpParameters.ProcedureParameter | |
| HttpParameters.UriParameter | |
| InboundHeaders |
The type-specific headers collection of an inbound message.
|
| Insights |
Used to send custom events to Insights.
|
| Logger |
The Java agent's logging interface.
|
| MessageConsumeParameters.Build | |
| MessageConsumeParameters.DestinationNameParameter | |
| MessageConsumeParameters.DestinationTypeParameter | |
| MessageConsumeParameters.InboundHeadersParameter | |
| MessageProduceParameters.Build | |
| MessageProduceParameters.DestinationNameParameter | |
| MessageProduceParameters.DestinationTypeParameter | |
| MessageProduceParameters.OutboundHeadersParameter | |
| MethodTracer | Deprecated |
| MethodTracerFactory | Deprecated |
| MetricAggregator |
This aggregator allows metrics to be reported which can be viewed through custom dashboards.
|
| OutboundHeaders |
The type-specific headers collection of an outbound message
|
| QueryConverter<T> |
Callers of
DatastoreParameters that use slowQuery() or slowQueryWithInput() must implement this interface
in order to properly record slow queries for their framework. |
| Request | Deprecated
since 3.21.0; use
ExtendedRequest instead. |
| Response | Deprecated
since 3.41.0; use
ExtendedResponse instead. |
| Segment |
Represents a timed unit of work.
|
| Token |
Tokens are passed between threads to link asynchronous units of work to the originating
Transaction
associated with the token. |
| TracedMethod |
Represents a single instance of the timing mechanism associated with a method that is instrumented using the
Trace annotation. |
| TraceMetadata |
Used to provide information about the currently executing trace.
|
| Transaction |
A transaction represents a unit of work in an application.
|
| Class | Description |
|---|---|
| DatastoreParameters |
The input parameters required to report a datastore on the
TracedMethod. |
| DatastoreParameters.Builder | |
| ExtendedInboundHeaders | |
| ExtendedRequest |
A
Request that provides more information for reporting to New Relic. |
| ExtendedResponse |
A
Response that provides more information for reporting to New Relic. |
| GenericParameters |
Parameters required to report a basic external call using
TracedMethod's reportAsExternal. |
| GenericParameters.Builder | |
| HttpParameters |
Use to report an HTTP external call with cross application tracing.
|
| HttpParameters.Builder | |
| MessageConsumeParameters |
Creates the parameters to report a message that was pulled from a message queue.
|
| MessageConsumeParameters.Builder | |
| MessageProduceParameters |
Creates the parameters to report a message that was sent to a message queue.
|
| MessageProduceParameters.Builder | |
| NewRelic |
The New Relic API.
|
| SlowQueryDatastoreParameters<T> |
The input parameters required to report a slow datastore query on the
TracedMethod. |
| SlowQueryWithInputDatastoreParameters<T,I> |
The input parameters required to report a slow datastore query on the
TracedMethod including a correlating
input query. |
| Enum | Description |
|---|---|
| DestinationType |
Used for specifying destination of a message action.
|
| HeaderType |
Used for specifying header key syntax for
InboundHeaders and OutboundHeaders. |
| TransactionNamePriority |
The priority to give to a call to
Transaction.setTransactionName(TransactionNamePriority, boolean, String, String...). |
| Annotation Type | Description |
|---|---|
| Trace |
If you annotate a method with the Trace annotation it will be automatically timed by the New Relic agent with the
following measurements:
call count
calls per minute
total call time
standard deviation call time
min call time
max call time
A metric representing these measurements will be reporting inside the call scope of the current transaction (e.g.,
"/servlets/myservlet") so that New Relic can "break out" the response time of a given transaction by specific called
methods.
|