- GenericParameters - Class in com.newrelic.api.agent
-
Parameters required to report a basic external call using
TracedMethod
's reportAsExternal.
- GenericParameters(String, URI, String) - Constructor for class com.newrelic.api.agent.GenericParameters
-
- GenericParameters(GenericParameters) - Constructor for class com.newrelic.api.agent.GenericParameters
-
- GenericParameters.Build - Interface in com.newrelic.api.agent
-
- GenericParameters.Builder - Class in com.newrelic.api.agent
-
- GenericParameters.ProcedureParameter - Interface in com.newrelic.api.agent
-
- GenericParameters.UriParameter - Interface in com.newrelic.api.agent
-
- getAgent() - Static method in class com.newrelic.api.agent.NewRelic
-
Returns the root of the New Relic Java Agent API object hierarchy.
- 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.
- getCollection() - Method in class com.newrelic.api.agent.DatastoreParameters
-
Returns the name of the collection or table.
- getConfig() - Method in interface com.newrelic.api.agent.Agent
-
Returns the agent's configuration.
- getContentLength() - Method in class com.newrelic.api.agent.ExtendedResponse
-
The Content-Length for this response
- getContentType() - Method in interface com.newrelic.api.agent.Response
-
Deprecated.
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.
- getDatabaseName() - Method in class com.newrelic.api.agent.DatastoreParameters
-
Return the name of the database where the query was executed.
- getDestinationName() - Method in class com.newrelic.api.agent.MessageConsumeParameters
-
- getDestinationName() - Method in class com.newrelic.api.agent.MessageProduceParameters
-
- getDestinationType() - Method in class com.newrelic.api.agent.MessageConsumeParameters
-
- getDestinationType() - Method in class com.newrelic.api.agent.MessageProduceParameters
-
- 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.
- getHost() - Method in class com.newrelic.api.agent.DatastoreParameters
-
Returns the name of the host where the datastore is located.
- getInboundHeaders() - Method in class com.newrelic.api.agent.MessageConsumeParameters
-
- getInboundResponseHeaders() - Method in class com.newrelic.api.agent.HttpParameters
-
Returns the headers from the response of the external call.
- getInputQueryLabel() - Method in class com.newrelic.api.agent.SlowQueryWithInputDatastoreParameters
-
Returns the label denoting the type of input query.
- 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
-
- getLibrary() - Method in class com.newrelic.api.agent.GenericParameters
-
Returns the name of the framework used to make the connection.
- getLibrary() - Method in class com.newrelic.api.agent.HttpParameters
-
Returns the name of the framework used to make the connection.
- getLibrary() - Method in class com.newrelic.api.agent.MessageConsumeParameters
-
- getLibrary() - Method in class com.newrelic.api.agent.MessageProduceParameters
-
- getLinkingMetadata() - Method in interface com.newrelic.api.agent.Agent
-
Returns an opaque map of key/value pairs that can be used to correlate this application in the New Relic backend.
- 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.
- getOperation() - Method in class com.newrelic.api.agent.DatastoreParameters
-
Returns the datastore operation.
- getOutboundHeaders() - Method in class com.newrelic.api.agent.MessageProduceParameters
-
- 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.
- getPathOrId() - Method in class com.newrelic.api.agent.DatastoreParameters
-
Return the path or id of the instance.
- getPort() - Method in class com.newrelic.api.agent.DatastoreParameters
-
Returns the port for the connection to the datastore.
- getProcedure() - Method in class com.newrelic.api.agent.GenericParameters
-
Returns the HTTP method or Java method for the call.
- getProcedure() - Method in class com.newrelic.api.agent.HttpParameters
-
Returns the HTTP method for the call.
- getProduct() - Method in class com.newrelic.api.agent.DatastoreParameters
-
Returns the name of the vendor.
- getQueryConverter() - Method in class com.newrelic.api.agent.SlowQueryDatastoreParameters
-
Returns the converter implementation used to transform the raw query into a string
- getRawInputQuery() - Method in class com.newrelic.api.agent.SlowQueryWithInputDatastoreParameters
-
Returns the raw input query object used for processing.
- getRawInputQueryConverter() - Method in class com.newrelic.api.agent.SlowQueryWithInputDatastoreParameters
-
Returns the converter implementation used to transform the raw input query into a string
- getRawQuery() - Method in class com.newrelic.api.agent.SlowQueryDatastoreParameters
-
Returns the raw query object used for processing.
- 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
-
- 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
-
- getSpanId() - Method in interface com.newrelic.api.agent.TraceMetadata
-
Returns the span identifier associated with the current executing span.
- getStatus() - Method in interface com.newrelic.api.agent.Response
-
Deprecated.
Returns the status code for this response.
- getStatusMessage() - Method in interface com.newrelic.api.agent.Response
-
Deprecated.
Returns the error status message, or null
if there is none.
- getToken() - Method in interface com.newrelic.api.agent.Transaction
-
- getTracedMethod() - Method in interface com.newrelic.api.agent.Agent
-
Returns the current traced method.
- getTracedMethod() - Method in interface com.newrelic.api.agent.Transaction
-
- getTraceId() - Method in interface com.newrelic.api.agent.TraceMetadata
-
Returns the currently executing trace identifier.
- getTraceMetadata() - Method in interface com.newrelic.api.agent.Agent
-
Provides access to the Trace Metadarta API for details about the currently executing distributed trace.
- getTransaction() - Method in interface com.newrelic.api.agent.Agent
-
Returns the current transaction.
- getTransaction() - Method in interface com.newrelic.api.agent.Segment
-
- getTypeName() - Method in enum com.newrelic.api.agent.DestinationType
-
Get the generalized type name of a queue source or destination.
- getUri() - Method in class com.newrelic.api.agent.GenericParameters
-
Returns the URI for the external call.
- getUri() - Method in class com.newrelic.api.agent.HttpParameters
-
Returns the URI for the external call.
- 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.
- ignore() - Method in interface com.newrelic.api.agent.Segment
-
Stops tracking the
Segment
and does not report it as part of its parent transaction.
- 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.
- ignoreErrors() - Method in interface com.newrelic.api.agent.Transaction
-
Ignore throwable and http status code errors resulting from this transaction.
- ignoreTransaction() - Static method in class com.newrelic.api.agent.NewRelic
-
Ignore the current transaction.
- inboundHeaders(InboundHeaders) - Method in class com.newrelic.api.agent.HttpParameters.Builder
-
- inboundHeaders(InboundHeaders) - Method in interface com.newrelic.api.agent.HttpParameters.InboundHeadersParameter
-
Set the inbound headers on the HTTP call.
- InboundHeaders - Interface in com.newrelic.api.agent
-
The type-specific headers collection of an inbound message.
- inboundHeaders(InboundHeaders) - Method in class com.newrelic.api.agent.MessageConsumeParameters.Builder
-
- inboundHeaders(InboundHeaders) - Method in interface com.newrelic.api.agent.MessageConsumeParameters.InboundHeadersParameter
-
Set the inbound headers on the external call.
- 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.
- instance(String, Integer) - Method in class com.newrelic.api.agent.DatastoreParameters.Builder
-
- instance(String, String) - Method in class com.newrelic.api.agent.DatastoreParameters.Builder
-
- instance(String, Integer) - Method in interface com.newrelic.api.agent.DatastoreParameters.InstanceParameter
-
Set the host and port of the datastore connection used for this query.
- instance(String, String) - Method in interface com.newrelic.api.agent.DatastoreParameters.InstanceParameter
-
Set the host and pathOrId of the datastore connection used for this query.
- isActive() - Method in interface com.newrelic.api.agent.Token
-
Checks if a token is valid and can be used to link work to the originating
Transaction
associated with
the token.
- isLoggable(Level) - Method in interface com.newrelic.api.agent.Logger
-
Returns true if the given log level will be logged.
- isSampled() - Method in interface com.newrelic.api.agent.TraceMetadata
-
Returns whether or not the current transaction is sampled from a distributed tracing perspective.
- isTransactionNameSet() - Method in interface com.newrelic.api.agent.Transaction
-
Returns true if the transaction name has been set.
- isWebTransaction() - Method in interface com.newrelic.api.agent.Transaction
-
Returns true if in a web transaction.
- library(String) - Static method in class com.newrelic.api.agent.GenericParameters
-
Set the name of the library.
- library(String) - Static method in class com.newrelic.api.agent.HttpParameters
-
Set the name of the library.
- library(String) - Static method in class com.newrelic.api.agent.MessageConsumeParameters
-
Set the name of the library.
- library(String) - Static method in class com.newrelic.api.agent.MessageProduceParameters
-
Set the name of the library.
- link() - Method in interface com.newrelic.api.agent.Token
-
Links the work being done on the current thread back to the originating
Transaction
associated with the
token.
- linkAndExpire() - Method in interface com.newrelic.api.agent.Token
-
Links the work being done on the current thread back to the originating
Transaction
associated with the
token and expires the token.
- log(Level, String, Object[]) - Method in interface com.newrelic.api.agent.Logger
-
Do not use.
- log(Level, String) - Method in interface com.newrelic.api.agent.Logger
-
Concatenate the given parts and log them at the given level.
- log(Level, String, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with one replacement.
- log(Level, String, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with two replacements.
- log(Level, String, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with three replacements.
- log(Level, String, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with four replacements.
- log(Level, String, Object, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with five replacements.
- log(Level, String, Object, Object, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with six replacements.
- log(Level, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with seven replacements.
- log(Level, String, Object, Object, Object, Object, Object, Object, Object, Object...) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern with seven + any other replacements.
- log(Level, Throwable, String, Object[]) - Method in interface com.newrelic.api.agent.Logger
-
Do not use.
- log(Level, Throwable, String) - Method in interface com.newrelic.api.agent.Logger
-
Log a message with given Throwable information.
- log(Level, Throwable, String, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with one replacement.
- log(Level, Throwable, String, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with two replacements.
- log(Level, Throwable, String, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with three replacements.
- log(Level, Throwable, String, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with four replacements.
- log(Level, Throwable, String, Object, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with five replacements.
- log(Level, Throwable, String, Object, Object, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with six replacements.
- log(Level, Throwable, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with seven replacements.
- log(Level, Throwable, String, Object, Object, Object, Object, Object, Object, Object, Object...) - Method in interface com.newrelic.api.agent.Logger
-
Log a message at the given level using the provided pattern and throwable with seven + any other replacements.
- Logger - Interface in com.newrelic.api.agent
-
The Java agent's logging interface.
- logToChild(String, Level, String, Object, Object, Object, Object) - Method in interface com.newrelic.api.agent.Logger
-
Concatenate the given parts and log them at the given level.
- Segment - Interface in com.newrelic.api.agent
-
Represents a timed unit of work.
- 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.
- setAppServerPort(int) - Static method in class com.newrelic.api.agent.NewRelic
-
Set the app server port which is reported to RPM.
- setHeader(String, String) - Method in interface com.newrelic.api.agent.OutboundHeaders
-
Sets a response header with the given name and value.
- setInstanceName(String) - Static method in class com.newrelic.api.agent.NewRelic
-
Set the instance name in the environment.
- setMetricName(String...) - Method in interface com.newrelic.api.agent.Segment
-
Sets the metric name by concatenating all given metricNameParts with a '/' separating each part.
- 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.
- setServerInfo(String, String) - Static method in class com.newrelic.api.agent.NewRelic
-
Set the dispatcher name and version which is reported to RPM.
- 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.
- setWebRequest(ExtendedRequest) - Method in interface com.newrelic.api.agent.Transaction
-
Sets the request for the current transaction.
- setWebResponse(Response) - Method in interface com.newrelic.api.agent.Transaction
-
Sets the response for the current transaction.
- slowQuery(T, QueryConverter<T>) - Method in class com.newrelic.api.agent.DatastoreParameters.Builder
-
- slowQuery(T, QueryConverter<T>) - Method in interface com.newrelic.api.agent.DatastoreParameters.SlowQueryParameter
-
Set a raw query and queryConverter to be used when reporting this call as a slow query
- SlowQueryDatastoreParameters<T> - Class in com.newrelic.api.agent
-
The input parameters required to report a slow datastore query on the
TracedMethod
.
- SlowQueryDatastoreParameters(DatastoreParameters, T, QueryConverter<T>) - Constructor for class com.newrelic.api.agent.SlowQueryDatastoreParameters
-
- SlowQueryDatastoreParameters(SlowQueryDatastoreParameters<T>) - Constructor for class com.newrelic.api.agent.SlowQueryDatastoreParameters
-
- slowQueryWithInput(String, T, QueryConverter<T>) - Method in class com.newrelic.api.agent.DatastoreParameters.Builder
-
- slowQueryWithInput(String, T, QueryConverter<T>) - Method in interface com.newrelic.api.agent.DatastoreParameters.SlowQueryWithInputParameter
-
Set an input query and converter to be used when reporting this call as a slow query.
- SlowQueryWithInputDatastoreParameters<T,I> - Class in com.newrelic.api.agent
-
The input parameters required to report a slow datastore query on the
TracedMethod
including a correlating
input query.
- SlowQueryWithInputDatastoreParameters(SlowQueryDatastoreParameters<T>, String, I, QueryConverter<I>) - Constructor for class com.newrelic.api.agent.SlowQueryWithInputDatastoreParameters
-
- startSegment(String) - Method in interface com.newrelic.api.agent.Transaction
-
- startSegment(String, String) - Method in interface com.newrelic.api.agent.Transaction
-