A C E G H I L M N O P R S T V 

A

addCustomParameter(String, Number) - Static method in class com.newrelic.api.agent.NewRelic
Add a key/value pair to the current transaction.
addCustomParameter(String, String) - Static method in class com.newrelic.api.agent.NewRelic
Add a key/value pair to the current transaction.
addRollupMetricName(String...) - Method in interface com.newrelic.api.agent.TracedMethod
Metric names added here will be reported as roll-up metrics.
Agent - Interface in com.newrelic.api.agent
The New Relic Java Agent's API.

C

com.newrelic.api.agent - package com.newrelic.api.agent
 
Config - Interface in com.newrelic.api.agent
Provides access to agent configuration settings.

E

ExtendedRequest - Class in com.newrelic.api.agent
A Request that provides more information for reporting to New Relic.
ExtendedRequest() - Constructor for class com.newrelic.api.agent.ExtendedRequest
 

G

getAgent() - Static method in class com.newrelic.api.agent.NewRelic
Returns the primary New Relic java agent api.
getAttribute(String) - Method in interface com.newrelic.api.agent.Request
Deprecated.
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getBrowserTimingFooter() - Static method in class com.newrelic.api.agent.NewRelic
Get the RUM JavaScript footer for the current web transaction.
getBrowserTimingHeader() - Static method in class com.newrelic.api.agent.NewRelic
Get the RUM JavaScript header for the current web transaction.
getConfig() - Method in interface com.newrelic.api.agent.Agent
Returns the agent's configuration.
getContentType() - Method in interface com.newrelic.api.agent.Response
Returns the response content type, or null if it is not available.
getCookieValue(String) - Method in interface com.newrelic.api.agent.Request
Deprecated.
Returns the value for the cookie with the given name, or null if the cookie does not exist.
getHeader(String) - Method in interface com.newrelic.api.agent.InboundHeaders
Returns the value of the specified request header as a String.
getHeaderType() - Method in interface com.newrelic.api.agent.InboundHeaders
Return the type of header key syntax used for this.
getHeaderType() - Method in interface com.newrelic.api.agent.OutboundHeaders
Return the type of header key syntax used for this.
getInsights() - Method in interface com.newrelic.api.agent.Agent
Provides access to the Insights custom events API.
getLastTracer() - Method in interface com.newrelic.api.agent.Transaction
getLogger() - Method in interface com.newrelic.api.agent.Agent
Returns a logger that logs to the New Relic Java agent log file.
getMethod() - Method in class com.newrelic.api.agent.ExtendedRequest
The HTTP method (e.g.
getMetricAggregator() - Method in interface com.newrelic.api.agent.Agent
Returns a metric aggregator that can be used to record metrics that can be viewed through custom dashboards.
getMetricName() - Method in interface com.newrelic.api.agent.TracedMethod
Returns the traced method metric name.
getParameterNames() - Method in interface com.newrelic.api.agent.Request
Deprecated.
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterValues(String) - Method in interface com.newrelic.api.agent.Request
Deprecated.
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getRemoteUser() - Method in interface com.newrelic.api.agent.Request
Deprecated.
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
getRequestMetadata() - Method in interface com.newrelic.api.agent.Transaction
Get transaction metadata to include in an outbound call.
getRequestURI() - Method in interface com.newrelic.api.agent.Request
Deprecated.
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getResponseMetadata() - Method in interface com.newrelic.api.agent.Transaction
Get transaction metadata to include in an outbound response.
getStatus() - Method in interface com.newrelic.api.agent.Response
Returns the status code for this response.
getStatusMessage() - Method in interface com.newrelic.api.agent.Response
Returns the error status message, or null if there is none.
getTracedMethod() - Method in interface com.newrelic.api.agent.Agent
Returns the current traced method.
getTracedMethod() - Method in interface com.newrelic.api.agent.Transaction
Returns the TracedMethod enclosing the caller.
getTransaction() - Method in interface com.newrelic.api.agent.Agent
Returns the current transaction, creating one if it doesn't currently exist.
getValue(String) - Method in interface com.newrelic.api.agent.Config
Get the value of a setting.
getValue(String, T) - Method in interface com.newrelic.api.agent.Config
Get the value of a setting, returning the default if the value is not present.

H

HeaderType - Enum in com.newrelic.api.agent
Used for specifying header key syntax for InboundHeaders and OutboundHeaders.

I

ignore() - Method in interface com.newrelic.api.agent.Transaction
Ignore this transaction so that none of its data is reported to the New Relic service.
ignoreApdex() - Static method in class com.newrelic.api.agent.NewRelic
Ignore the current transaction for calculating Apdex score.
ignoreApdex() - Method in interface com.newrelic.api.agent.Transaction
Ignore the current transaction for calculating Apdex score.
ignoreTransaction() - Static method in class com.newrelic.api.agent.NewRelic
Ignore the current transaction.
InboundHeaders - Interface in com.newrelic.api.agent
The type-specific headers collection of an inbound message.
incrementCounter(String) - Method in interface com.newrelic.api.agent.MetricAggregator
Increment the count of the metric with the given name.
incrementCounter(String, int) - Method in interface com.newrelic.api.agent.MetricAggregator
Increment the count of the metric with the given name.
incrementCounter(String) - Static method in class com.newrelic.api.agent.NewRelic
Increment the metric counter for the given name.
incrementCounter(String, int) - Static method in class com.newrelic.api.agent.NewRelic
Increment the metric counter for the given name.
Insights - Interface in com.newrelic.api.agent
Used to send custom events to Insights.
isLoggable(Level) - Method in interface com.newrelic.api.agent.Logger
Returns true if the given log level will be logged.
isTransactionNameSet() - Method in interface com.newrelic.api.agent.Transaction
Returns true if the transaction name has been set.

L

log(Level, String, Object...) - Method in interface com.newrelic.api.agent.Logger
Concatenate the given parts and log them at the given level.
log(Level, Throwable, String, Object...) - Method in interface com.newrelic.api.agent.Logger
Log a message with given Throwable information.
Logger - Interface in com.newrelic.api.agent
The Java agent's logging interface.
logToChild(String, Level, String, Object...) - Method in interface com.newrelic.api.agent.Logger
Concatenate the given parts and log them at the given level.

M

methodFinished(Object) - Method in interface com.newrelic.api.agent.MethodTracer
Deprecated.
Called if a method exits successfully.
methodFinishedWithException(Throwable) - Method in interface com.newrelic.api.agent.MethodTracer
Deprecated.
Called if a method exits because of an uncaught exception.
methodInvoked(String, Object, Object[]) - Method in interface com.newrelic.api.agent.MethodTracerFactory
Deprecated.
Called when an instrumented method is invoked.
MethodTracer - Interface in com.newrelic.api.agent
Deprecated. 
MethodTracerFactory - Interface in com.newrelic.api.agent
Deprecated. 
MetricAggregator - Interface in com.newrelic.api.agent
This aggregator allows metrics to be reported which can be viewed through custom dashboards.

N

NewRelic - Class in com.newrelic.api.agent
The New Relic api.
NewRelic() - Constructor for class com.newrelic.api.agent.NewRelic
 
noticeError(Throwable, Map<String, String>) - Static method in class com.newrelic.api.agent.NewRelic
Notice an exception and report it to New Relic.
noticeError(Throwable) - Static method in class com.newrelic.api.agent.NewRelic
Report an exception to New Relic.
noticeError(String, Map<String, String>) - Static method in class com.newrelic.api.agent.NewRelic
Notice an error and report it to New Relic.
noticeError(String) - Static method in class com.newrelic.api.agent.NewRelic
Notice an error and report it to New Relic.
NULL - Static variable in annotation type com.newrelic.api.agent.Trace
 

O

OutboundHeaders - Interface in com.newrelic.api.agent
The type-specific headers collection of an outbound message

P

processRequestMetadata(String) - Method in interface com.newrelic.api.agent.Transaction
Provide the metadata string from a remote transaction's call to Transaction.getRequestMetadata() to the current transaction.
processResponseMetadata(String) - Method in interface com.newrelic.api.agent.Transaction
Provide the metadata string from a remote transaction's call to Transaction.getResponseMetadata() to the current transaction.

R

recordCustomEvent(String, Map<String, Object>) - Method in interface com.newrelic.api.agent.Insights
Sends an Insights event for the current application.
recordMetric(String, float) - Method in interface com.newrelic.api.agent.MetricAggregator
Record a metric value for the given name.
recordMetric(String, float) - Static method in class com.newrelic.api.agent.NewRelic
Record a metric value for the given name.
recordResponseTimeMetric(String, long, long, TimeUnit) - Method in interface com.newrelic.api.agent.MetricAggregator
Records a metric that will not be shown in the breakdown of time for a transaction, but can be displayed in a custom dashboard.
recordResponseTimeMetric(String, long) - Method in interface com.newrelic.api.agent.MetricAggregator
Record a response time in milliseconds for the given metric name.
recordResponseTimeMetric(String, long) - Static method in class com.newrelic.api.agent.NewRelic
Record a response time in milliseconds for the given metric name.
Request - Interface in com.newrelic.api.agent
Deprecated.
since 3.21.0; use ExtendedRequest instead.
Response - Interface in com.newrelic.api.agent
Represents a response to a web request.

S

setAccountName(String) - Static method in class com.newrelic.api.agent.NewRelic
Set the account name to associate with the RUM JavaScript footer for the current web transaction.
setHeader(String, String) - Method in interface com.newrelic.api.agent.OutboundHeaders
Sets a response header with the given name and value.
setMetricName(String...) - Method in interface com.newrelic.api.agent.TracedMethod
Sets the traced method metric name by concatenating all given metricNameParts with a '/' separating each part.
setProductName(String) - Static method in class com.newrelic.api.agent.NewRelic
Set the product name to associate with the RUM JavaScript footer for the current web transaction.
setRequestAndResponse(Request, Response) - Static method in class com.newrelic.api.agent.NewRelic
Sets the request and response instances for the current transaction.
setTransactionName(String, String) - Static method in class com.newrelic.api.agent.NewRelic
Set the name of the current transaction.
setTransactionName(TransactionNamePriority, boolean, String, String...) - Method in interface com.newrelic.api.agent.Transaction
Sets the current transaction's name using the given priority.
setUserName(String) - Static method in class com.newrelic.api.agent.NewRelic
Set the user name to associate with the RUM JavaScript footer for the current web transaction.

T

Trace - Annotation Type in com.newrelic.api.agent
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 min call time A metric representing these measurements will be reporting inside the call scope of the current transaction (e.g.
TracedMethod - Interface in com.newrelic.api.agent
Represents a single instance of the timing mechanism associated with a method that is instrumented using the Trace annotation.
Transaction - Interface in com.newrelic.api.agent
A transaction represents a unit of work in an application.
TransactionNamePriority - Enum in com.newrelic.api.agent

V

valueOf(String) - Static method in enum com.newrelic.api.agent.HeaderType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.newrelic.api.agent.TransactionNamePriority
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.newrelic.api.agent.HeaderType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.newrelic.api.agent.TransactionNamePriority
Returns an array containing the constants of this enum type, in the order they are declared.
A C E G H I L M N O P R S T V