A C G I M N R S T 

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.

C

com.newrelic.api.agent - package com.newrelic.api.agent
 

G

getAttribute(String) - Method in interface com.newrelic.api.agent.Request
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.
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
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.Request
Returns the value of the specified request header as a String.
getParameterNames() - Method in interface com.newrelic.api.agent.Request
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
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
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
getRequestURI() - Method in interface com.newrelic.api.agent.Request
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.
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.

I

ignoreApdex() - Static method in class com.newrelic.api.agent.NewRelic
Ignore the current transaction for calculating Apdex score.
ignoreTransaction() - Static method in class com.newrelic.api.agent.NewRelic
Ignore the current transaction.
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.

M

methodFinished(Object) - Method in interface com.newrelic.api.agent.MethodTracer
Called if a method exits successfully.
methodFinishedWithException(Throwable) - Method in interface com.newrelic.api.agent.MethodTracer
Called if a method exits because of an uncaught exception.
methodInvoked(String, Object, Object[]) - Method in interface com.newrelic.api.agent.MethodTracerFactory
Called when an instrumented method is invoked.
MethodTracer - Interface in com.newrelic.api.agent
A MethodTracerFactory can return a MethodTracer to be notified when a method invocation finishes.
MethodTracerFactory - Interface in com.newrelic.api.agent
A MethodTracerFactory is called when an instrumented method is invoked.

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
 

R

recordMetric(String, float) - Static method in class com.newrelic.api.agent.NewRelic
Record a metric value for the given 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
Represents a web request.
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.Response
Sets a response header with the given name and value.
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.
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 measured by New Relic, with the following metrics - call count - calls per minute - average call time - standard deviation call time - min and max call time Also these metrics will be traced inside the call scope of a named http transaction (e.g.
A C G I M N R S T