A B C D E F G H I L M N P R S T U V W 
All Classes All Packages

A

addEvent(Event) - Method in class com.newrelic.telemetry.events.EventBuffer
Append a Event to this buffer, to be sent in the next EventBatch.
addMetric(Metric) - Method in class com.newrelic.telemetry.metrics.MetricBuffer
Append a Metric to this buffer, to be sent in the next MetricBatch.
apiKey(String) - Method in class com.newrelic.telemetry.metrics.MetricBatchSenderBuilder
Deprecated.
Provide your New Relic Insights Insert API key
apiKey(String) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Configure the New Relic Insert API key to use.
apiKey(String) - Method in class com.newrelic.telemetry.spans.SpanBatchSenderBuilder
Deprecated.
Provide your New Relic Insights Insert API key
appendCommonJson(LogBatch, JsonWriter) - Method in class com.newrelic.telemetry.logs.json.LogJsonCommonBlockWriter
 
appendCommonJson(MetricBatch, StringBuilder) - Method in class com.newrelic.telemetry.metrics.json.MetricBatchJsonCommonBlockWriter
 
appendCommonJson(SpanBatch, JsonWriter) - Method in class com.newrelic.telemetry.spans.json.SpanJsonCommonBlockWriter
 
appendTelemetryJson(LogBatch, JsonWriter) - Method in class com.newrelic.telemetry.logs.json.LogJsonTelemetryBlockWriter
 
appendTelemetryJson(MetricBatch, StringBuilder) - Method in class com.newrelic.telemetry.metrics.json.MetricBatchJsonTelemetryBlockWriter
 
appendTelemetryJson(SpanBatch, JsonWriter) - Method in class com.newrelic.telemetry.spans.json.SpanJsonTelemetryBlockWriter
 
apply(Event) - Method in class com.newrelic.telemetry.events.json.EventToJson
 
asMap() - Method in class com.newrelic.telemetry.Attributes
Make a copy of these attributes.
attributes(Attributes) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
Additional attributes associated with the log entry.
attributes(Attributes) - Method in class com.newrelic.telemetry.metrics.CommonAttributesBuilder
Provides a new set of attributes for this builder
attributes(Attributes) - Method in class com.newrelic.telemetry.metrics.MetricBatch.Builder
Provides the core set of common attributes to be used with all metrics in the batch.
attributes(Attributes) - Method in class com.newrelic.telemetry.metrics.MetricBuffer.Builder
Provides the base collection of common attributes that will be applied to all buffered metrics.
attributes(Attributes) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 
Attributes - Class in com.newrelic.telemetry
A collection of key-value pairs that can be used as the dimensional attributes for metrics.
Attributes() - Constructor for class com.newrelic.telemetry.Attributes
Creates an empty object
Attributes(Attributes) - Constructor for class com.newrelic.telemetry.Attributes
Creates a copy.
AttributesJson - Class in com.newrelic.telemetry.json
 
AttributesJson() - Constructor for class com.newrelic.telemetry.json.AttributesJson
 
auditLoggingEnabled(boolean) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Configure whether audit logging is enabled.

B

BatchDataSender - Class in com.newrelic.telemetry.transport
 
BatchDataSender(HttpPoster, String, URL, boolean, String) - Constructor for class com.newrelic.telemetry.transport.BatchDataSender
 
build() - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
Create the new Log entry.
build() - Method in class com.newrelic.telemetry.metrics.CommonAttributesBuilder
Call this lastly to actually build an Attributes instance that optionally contains specially named fields.
build() - Method in class com.newrelic.telemetry.metrics.MetricBatch.Builder
Builds the metric batch
build() - Method in class com.newrelic.telemetry.metrics.MetricBatchSenderBuilder
Deprecated.
Build the final MetricBatchSender.
build() - Method in class com.newrelic.telemetry.metrics.MetricBuffer.Builder
Builds the new MetricBuffer instance
build() - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
 
build() - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 
build() - Method in class com.newrelic.telemetry.spans.SpanBatchSenderBuilder
Deprecated.
Build the final SpanBatchSender.
builder() - Static method in class com.newrelic.telemetry.logs.Log
Create a builder for building a new log entry.
builder() - Static method in class com.newrelic.telemetry.metrics.MetricBatch
 
builder() - Static method in class com.newrelic.telemetry.metrics.MetricBatchSender
Deprecated.
builder() - Static method in class com.newrelic.telemetry.metrics.MetricBuffer
Returns a new Builder instance for help with creating new MetricBatch instances
builder() - Static method in class com.newrelic.telemetry.spans.SpanBatchSender
Deprecated.
builder(String) - Static method in class com.newrelic.telemetry.spans.Span
 
builder(String, String) - Static method in class com.newrelic.telemetry.SenderConfiguration
 
Builder() - Constructor for class com.newrelic.telemetry.metrics.MetricBatch.Builder
 
Builder() - Constructor for class com.newrelic.telemetry.metrics.MetricBuffer.Builder
 

C

com.newrelic.telemetry - package com.newrelic.telemetry
 
com.newrelic.telemetry.events - package com.newrelic.telemetry.events
 
com.newrelic.telemetry.events.json - package com.newrelic.telemetry.events.json
 
com.newrelic.telemetry.exceptions - package com.newrelic.telemetry.exceptions
 
com.newrelic.telemetry.http - package com.newrelic.telemetry.http
 
com.newrelic.telemetry.json - package com.newrelic.telemetry.json
 
com.newrelic.telemetry.logs - package com.newrelic.telemetry.logs
 
com.newrelic.telemetry.logs.json - package com.newrelic.telemetry.logs.json
 
com.newrelic.telemetry.metrics - package com.newrelic.telemetry.metrics
 
com.newrelic.telemetry.metrics.json - package com.newrelic.telemetry.metrics.json
 
com.newrelic.telemetry.spans - package com.newrelic.telemetry.spans
 
com.newrelic.telemetry.spans.json - package com.newrelic.telemetry.spans.json
 
com.newrelic.telemetry.transport - package com.newrelic.telemetry.transport
 
com.newrelic.telemetry.util - package com.newrelic.telemetry.util
 
CommonAttributesBuilder - Class in com.newrelic.telemetry.metrics
A builder for Attributes.
CommonAttributesBuilder() - Constructor for class com.newrelic.telemetry.metrics.CommonAttributesBuilder
 
configurationBuilder() - Static method in class com.newrelic.telemetry.events.EventBatchSender
 
configurationBuilder() - Static method in class com.newrelic.telemetry.logs.LogBatchSender
 
configurationBuilder() - Static method in class com.newrelic.telemetry.metrics.MetricBatchSender
 
configurationBuilder() - Static method in class com.newrelic.telemetry.spans.SpanBatchSender
 
configureWith(String) - Method in interface com.newrelic.telemetry.EventBatchSenderFactory
Create a new SenderConfiguration.SenderConfigurationBuilder with your New Relic Insights Insert API key.
configureWith(String) - Method in interface com.newrelic.telemetry.LogBatchSenderFactory
Create a new SenderConfiguration.SenderConfigurationBuilder with your New Relic Insights Insert API key.
configureWith(String) - Method in interface com.newrelic.telemetry.MetricBatchSenderFactory
Create a new MetricBatchSenderBuilder with your New Relic Insights Insert API key.
configureWith(String) - Method in interface com.newrelic.telemetry.SpanBatchSenderFactory
Create a new SpanBatchSenderBuilder with your New Relic Insights Insert API key.
constructUrlWithHost(URI) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
 
copy() - Method in class com.newrelic.telemetry.Attributes
Creates a copy.
Count - Class in com.newrelic.telemetry.metrics
A Metric that represents a single signed, floating-point quantity measured over a period of time.
Count(String, double, long, long, Attributes) - Constructor for class com.newrelic.telemetry.metrics.Count
Create a new Count instance.
create(SenderConfiguration) - Static method in class com.newrelic.telemetry.events.EventBatchSender
 
create(SenderConfiguration) - Static method in class com.newrelic.telemetry.logs.LogBatchSender
Build the final LogBatchSender.
create(SenderConfiguration) - Static method in class com.newrelic.telemetry.metrics.MetricBatchSender
Build the final MetricBatchSender.
create(SenderConfiguration) - Static method in class com.newrelic.telemetry.spans.SpanBatchSender
Build the final SpanBatchSender.
createBatch() - Method in class com.newrelic.telemetry.events.EventBuffer
Creates a new EventBatch from the contents of this buffer, then clears the contents of this buffer.
createBatch() - Method in class com.newrelic.telemetry.metrics.MetricBuffer
Creates a new MetricBatch from the contents of this buffer, then clears the contents of this buffer.
createBatchSender(String) - Method in interface com.newrelic.telemetry.EventBatchSenderFactory
Create a new EventBatchSender with your New Relic Insights Insert API key, and otherwise default settings.
createBatchSender(String) - Method in interface com.newrelic.telemetry.LogBatchSenderFactory
Create a new LogBatchSender with your New Relic Insights Insert API key, and otherwise default settings.
createBatchSender(String) - Method in interface com.newrelic.telemetry.MetricBatchSenderFactory
Create a new MetricBatchSender with your New Relic Insights Insert API key, and otherwise default settings.
createBatchSender(String) - Method in interface com.newrelic.telemetry.SpanBatchSenderFactory
Create a new SpanBatchSender with your New Relic Insights Insert API key, and otherwise default settings.
createSubBatch(Collection<Event>) - Method in class com.newrelic.telemetry.events.EventBatch
 
createSubBatch(Collection<Log>) - Method in class com.newrelic.telemetry.logs.LogBatch
 
createSubBatch(Collection<Metric>) - Method in class com.newrelic.telemetry.metrics.MetricBatch
 
createSubBatch(Collection<Span>) - Method in class com.newrelic.telemetry.spans.SpanBatch
 
createSubBatch(Collection<T>) - Method in class com.newrelic.telemetry.TelemetryBatch
 

D

DiscardBatchException - Exception in com.newrelic.telemetry.exceptions
This exception is thrown when the request should be discarded and not retried.
DiscardBatchException() - Constructor for exception com.newrelic.telemetry.exceptions.DiscardBatchException
 
durationMs(double) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 

E

enableAuditLogging() - Method in class com.newrelic.telemetry.metrics.MetricBatchSenderBuilder
Deprecated.
Turns on audit logging.
enableAuditLogging() - Method in class com.newrelic.telemetry.spans.SpanBatchSenderBuilder
Deprecated.
Turns on audit logging.
endpoint(String, String, int) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Configure the endpoint for data to be sent to.
endpointWithPath(URL) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Configure the *full* endpoint URL for data to be sent to, including the path.
equals(Object) - Method in class com.newrelic.telemetry.Attributes
 
equals(Object) - Method in class com.newrelic.telemetry.events.Event
 
equals(Object) - Method in class com.newrelic.telemetry.events.EventBuffer
 
equals(Object) - Method in class com.newrelic.telemetry.http.HttpResponse
 
equals(Object) - Method in class com.newrelic.telemetry.logs.Log
 
equals(Object) - Method in class com.newrelic.telemetry.metrics.Count
 
equals(Object) - Method in class com.newrelic.telemetry.metrics.Gauge
 
equals(Object) - Method in class com.newrelic.telemetry.metrics.MetricBuffer
 
equals(Object) - Method in class com.newrelic.telemetry.metrics.Summary
 
equals(Object) - Method in class com.newrelic.telemetry.Response
 
equals(Object) - Method in class com.newrelic.telemetry.spans.Span
 
equals(Object) - Method in class com.newrelic.telemetry.spans.SpanBatch
 
equals(Object) - Method in class com.newrelic.telemetry.TelemetryBatch
 
Event - Class in com.newrelic.telemetry.events
An Event is ad hoc set of key-value pairs with an associated timestamp, recorded in the New Relic Metric API.
Event(Event) - Constructor for class com.newrelic.telemetry.events.Event
Copy constructor for events.
Event(String, Attributes) - Constructor for class com.newrelic.telemetry.events.Event
Create an event with System.currentTimeMillis as the timestamp.
Event(String, Attributes, long) - Constructor for class com.newrelic.telemetry.events.Event
Create an event with the given timestamp as the timestamp, in ms since unix epoch.
EventBatch - Class in com.newrelic.telemetry.events
Represents a set of Event instances, to be sent up to the New Relic Metrics API.
EventBatch(Collection<Event>) - Constructor for class com.newrelic.telemetry.events.EventBatch
 
EventBatch(Collection<Event>, Attributes) - Constructor for class com.newrelic.telemetry.events.EventBatch
 
EventBatchMarshaller - Class in com.newrelic.telemetry.events.json
 
EventBatchMarshaller() - Constructor for class com.newrelic.telemetry.events.json.EventBatchMarshaller
 
EventBatchSender - Class in com.newrelic.telemetry.events
 
EventBatchSenderFactory - Interface in com.newrelic.telemetry
A factory interface for creating a EventBatchSender.
EventBuffer - Class in com.newrelic.telemetry.events
A buffer for collecting Events.
EventBuffer(Attributes) - Constructor for class com.newrelic.telemetry.events.EventBuffer
Create a new buffer with the provided common set of attributes.
EventToJson - Class in com.newrelic.telemetry.events.json
 
EventToJson() - Constructor for class com.newrelic.telemetry.events.json.EventToJson
 

F

fromHttpImplementation(Supplier<HttpPoster>) - Static method in interface com.newrelic.telemetry.EventBatchSenderFactory
Create an EventBatchSenderFactory with an HTTP implementation.
fromHttpImplementation(Supplier<HttpPoster>) - Static method in interface com.newrelic.telemetry.LogBatchSenderFactory
Create an LogBatchSenderFactory with an HTTP implementation.
fromHttpImplementation(Supplier<HttpPoster>) - Static method in interface com.newrelic.telemetry.MetricBatchSenderFactory
Create an MetricBatchSenderFactory with an HTTP implementation.
fromHttpImplementation(Supplier<HttpPoster>) - Static method in interface com.newrelic.telemetry.SpanBatchSenderFactory
Create an SpanBatchSenderFactory with an HTTP implementation.

G

Gauge - Class in com.newrelic.telemetry.metrics
A Metric representing a single signed, floating-point quantity measured at a point in time.
Gauge(String, double, long, Attributes) - Constructor for class com.newrelic.telemetry.metrics.Gauge
 
getApiKey() - Method in class com.newrelic.telemetry.SenderConfiguration
 
getAttributes() - Method in class com.newrelic.telemetry.events.Event
 
getAttributes() - Method in class com.newrelic.telemetry.logs.Log
Additional attributes associated with the log entry.
getAttributes() - Method in class com.newrelic.telemetry.metrics.Count
 
getAttributes() - Method in class com.newrelic.telemetry.metrics.Gauge
 
getAttributes() - Method in class com.newrelic.telemetry.metrics.Summary
Gets dimensional attributes associated with this Metric.
getAttributes() - Method in class com.newrelic.telemetry.spans.Span
 
getAttributesJson() - Method in class com.newrelic.telemetry.spans.json.SpanJsonTelemetryBlockWriter
 
getBody() - Method in class com.newrelic.telemetry.http.HttpResponse
 
getBody() - Method in class com.newrelic.telemetry.Response
 
getCode() - Method in class com.newrelic.telemetry.http.HttpResponse
 
getCommonAttributes() - Method in class com.newrelic.telemetry.TelemetryBatch
 
getCount() - Method in class com.newrelic.telemetry.metrics.Summary
 
getDurationMs() - Method in class com.newrelic.telemetry.spans.Span
 
getEndpointUrl() - Method in class com.newrelic.telemetry.SenderConfiguration
 
getEndTimeMs() - Method in class com.newrelic.telemetry.metrics.Count
 
getEndTimeMs() - Method in class com.newrelic.telemetry.metrics.Summary
 
getEventType() - Method in class com.newrelic.telemetry.events.Event
 
getHeaders() - Method in class com.newrelic.telemetry.http.HttpResponse
 
getHttpPoster() - Method in class com.newrelic.telemetry.SenderConfiguration
 
getId() - Method in class com.newrelic.telemetry.spans.Span
 
getLevel() - Method in class com.newrelic.telemetry.logs.Log
The log level (eg.
getMax() - Method in class com.newrelic.telemetry.metrics.Summary
 
getMessage() - Method in class com.newrelic.telemetry.http.HttpResponse
 
getMessage() - Method in class com.newrelic.telemetry.logs.Log
The log line itself.
getMin() - Method in class com.newrelic.telemetry.metrics.Summary
 
getName() - Method in class com.newrelic.telemetry.metrics.Count
 
getName() - Method in class com.newrelic.telemetry.metrics.Gauge
 
getName() - Method in class com.newrelic.telemetry.metrics.Summary
Gets the user-visible name of the Metric.
getName() - Method in class com.newrelic.telemetry.spans.Span
 
getParentId() - Method in class com.newrelic.telemetry.spans.Span
 
getPoster() - Method in interface com.newrelic.telemetry.EventBatchSenderFactory
 
getPoster() - Method in interface com.newrelic.telemetry.LogBatchSenderFactory
 
getPoster() - Method in interface com.newrelic.telemetry.MetricBatchSenderFactory
 
getPoster() - Method in interface com.newrelic.telemetry.SpanBatchSenderFactory
 
getSecondaryUserAgent() - Method in class com.newrelic.telemetry.SenderConfiguration
 
getServiceName() - Method in class com.newrelic.telemetry.logs.Log
The name of the service which produced this log entry.
getServiceName() - Method in class com.newrelic.telemetry.spans.Span
 
getStartTimeMs() - Method in class com.newrelic.telemetry.metrics.Count
 
getStartTimeMs() - Method in class com.newrelic.telemetry.metrics.Summary
 
getStatusCode() - Method in class com.newrelic.telemetry.Response
 
getStatusMessage() - Method in class com.newrelic.telemetry.Response
 
getSum() - Method in class com.newrelic.telemetry.metrics.Summary
 
getTelemetry() - Method in class com.newrelic.telemetry.TelemetryBatch
 
getThrowable() - Method in class com.newrelic.telemetry.logs.Log
 
getTimestamp() - Method in class com.newrelic.telemetry.events.Event
 
getTimestamp() - Method in class com.newrelic.telemetry.logs.Log
The point in time (ms since UNIX epoch) that the log entry was created.
getTimestamp() - Method in class com.newrelic.telemetry.metrics.Gauge
 
getTimestamp() - Method in class com.newrelic.telemetry.spans.Span
 
getTimeUnit() - Method in exception com.newrelic.telemetry.exceptions.RetryWithRequestedWaitException
 
getTraceId() - Method in class com.newrelic.telemetry.spans.Span
 
getTraceId() - Method in class com.newrelic.telemetry.spans.SpanBatch
 
getValue() - Method in class com.newrelic.telemetry.metrics.Count
 
getValue() - Method in class com.newrelic.telemetry.metrics.Gauge
 
getWaitTime() - Method in exception com.newrelic.telemetry.exceptions.RetryWithRequestedWaitException
 

H

hasCommonAttributes() - Method in class com.newrelic.telemetry.TelemetryBatch
 
hashCode() - Method in class com.newrelic.telemetry.Attributes
 
hashCode() - Method in class com.newrelic.telemetry.events.Event
 
hashCode() - Method in class com.newrelic.telemetry.events.EventBuffer
 
hashCode() - Method in class com.newrelic.telemetry.http.HttpResponse
 
hashCode() - Method in class com.newrelic.telemetry.logs.Log
 
hashCode() - Method in class com.newrelic.telemetry.metrics.Count
 
hashCode() - Method in class com.newrelic.telemetry.metrics.Gauge
 
hashCode() - Method in class com.newrelic.telemetry.metrics.MetricBuffer
 
hashCode() - Method in class com.newrelic.telemetry.metrics.Summary
 
hashCode() - Method in class com.newrelic.telemetry.Response
 
hashCode() - Method in class com.newrelic.telemetry.spans.Span
 
hashCode() - Method in class com.newrelic.telemetry.spans.SpanBatch
 
hashCode() - Method in class com.newrelic.telemetry.TelemetryBatch
 
httpPoster(HttpPoster) - Method in class com.newrelic.telemetry.metrics.MetricBatchSenderBuilder
Deprecated.
Provide an implementation for HTTP POST.
httpPoster(HttpPoster) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
 
httpPoster(HttpPoster) - Method in class com.newrelic.telemetry.spans.SpanBatchSenderBuilder
Deprecated.
Provide an implementation for HTTP POST.
HttpPoster - Interface in com.newrelic.telemetry.http
In order to provide your own implementation of an HTTP client, an implementation of this interface must be provided.
HttpResponse - Class in com.newrelic.telemetry.http
The response from the backend APIs.
HttpResponse(String, int, String, Map<String, List<String>>) - Constructor for class com.newrelic.telemetry.http.HttpResponse
 

I

instrumentationProvider(String) - Method in class com.newrelic.telemetry.metrics.CommonAttributesBuilder
Specifies the name of the provider of the instrumentation to this builder, for example "micrometer" or "opentelemetry".
instrumentationProvider(String) - Method in class com.newrelic.telemetry.metrics.MetricBatch.Builder
Optional.
instrumentationProvider(String) - Method in class com.newrelic.telemetry.metrics.MetricBuffer.Builder
Optional.
isAuditLoggingEnabled() - Method in class com.newrelic.telemetry.SenderConfiguration
 
isEmpty() - Method in class com.newrelic.telemetry.Attributes
 
isEmpty() - Method in class com.newrelic.telemetry.TelemetryBatch
 
isError() - Method in class com.newrelic.telemetry.spans.Span
 

L

level(String) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
The log level (eg.
Log - Class in com.newrelic.telemetry.logs
A Log instance represents a single entry in a log.
Log.LogBuilder - Class in com.newrelic.telemetry.logs
A class for holding the variables associated with a Log object and creating a new Log object with those variables.
LogBatch - Class in com.newrelic.telemetry.logs
Represents a set of Log instances, to be sent up to the New Relic Logging API.
LogBatch(Collection<Log>, Attributes) - Constructor for class com.newrelic.telemetry.logs.LogBatch
 
LogBatchMarshaller - Class in com.newrelic.telemetry.logs.json
 
LogBatchMarshaller(LogJsonCommonBlockWriter, LogJsonTelemetryBlockWriter) - Constructor for class com.newrelic.telemetry.logs.json.LogBatchMarshaller
 
LogBatchSender - Class in com.newrelic.telemetry.logs
Manages the sending of LogBatch instances to the New Relic Logs API.
LogBatchSenderFactory - Interface in com.newrelic.telemetry
A factory interface for creating a LogBatchSender.
LogBuilder() - Constructor for class com.newrelic.telemetry.logs.Log.LogBuilder
 
LogJsonCommonBlockWriter - Class in com.newrelic.telemetry.logs.json
 
LogJsonCommonBlockWriter(AttributesJson) - Constructor for class com.newrelic.telemetry.logs.json.LogJsonCommonBlockWriter
 
LogJsonTelemetryBlockWriter - Class in com.newrelic.telemetry.logs.json
 
LogJsonTelemetryBlockWriter(AttributesJson) - Constructor for class com.newrelic.telemetry.logs.json.LogJsonTelemetryBlockWriter
 

M

message(String) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
The log line itself.
Metric - Interface in com.newrelic.telemetry.metrics
A Metric is a very low-level data structure, recorded in the New Relic Metric API.
MetricBatch - Class in com.newrelic.telemetry.metrics
Represents a set of Metric instances, to be sent up to the New Relic Metrics API.
MetricBatch(Collection<Metric>, Attributes) - Constructor for class com.newrelic.telemetry.metrics.MetricBatch
 
MetricBatch.Builder - Class in com.newrelic.telemetry.metrics
 
MetricBatchJsonCommonBlockWriter - Class in com.newrelic.telemetry.metrics.json
 
MetricBatchJsonCommonBlockWriter(AttributesJson) - Constructor for class com.newrelic.telemetry.metrics.json.MetricBatchJsonCommonBlockWriter
 
MetricBatchJsonTelemetryBlockWriter - Class in com.newrelic.telemetry.metrics.json
 
MetricBatchJsonTelemetryBlockWriter(MetricToJson) - Constructor for class com.newrelic.telemetry.metrics.json.MetricBatchJsonTelemetryBlockWriter
 
MetricBatchMarshaller - Class in com.newrelic.telemetry.metrics.json
 
MetricBatchMarshaller(MetricBatchJsonCommonBlockWriter, MetricBatchJsonTelemetryBlockWriter) - Constructor for class com.newrelic.telemetry.metrics.json.MetricBatchMarshaller
 
MetricBatchSender - Class in com.newrelic.telemetry.metrics
Manages the sending of MetricBatch instances to the New Relic Metrics API.
MetricBatchSenderBuilder - Class in com.newrelic.telemetry.metrics
Deprecated.
MetricBatchSenderBuilder(SenderConfiguration.SenderConfigurationBuilder) - Constructor for class com.newrelic.telemetry.metrics.MetricBatchSenderBuilder
Deprecated.
 
MetricBatchSenderFactory - Interface in com.newrelic.telemetry
A factory interface for creating a MetricBatchSender.
MetricBuffer - Class in com.newrelic.telemetry.metrics
A buffer for collecting Metrics.
MetricBuffer(Attributes) - Constructor for class com.newrelic.telemetry.metrics.MetricBuffer
Create a new buffer with the provided common set of attributes.
MetricBuffer.Builder - Class in com.newrelic.telemetry.metrics
 
metrics(Collection<Metric>) - Method in class com.newrelic.telemetry.metrics.MetricBatch.Builder
Provides the collection of metrics contained within the metric batch.
MetricToJson - Class in com.newrelic.telemetry.metrics.json
This class turns Metrics into JSON via an embedded JsonWriter from the gson project.
MetricToJson() - Constructor for class com.newrelic.telemetry.metrics.json.MetricToJson
 

N

name(String) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 

P

parentId(String) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 
post(URL, Map<String, String>, byte[], String) - Method in interface com.newrelic.telemetry.http.HttpPoster
Post data to the provided URL.
put(String, boolean) - Method in class com.newrelic.telemetry.Attributes
Add a boolean-valued attribute.
put(String, Number) - Method in class com.newrelic.telemetry.Attributes
Add a Number-valued attribute.
put(String, String) - Method in class com.newrelic.telemetry.Attributes
Add a string-valued attribute.
putAll(Attributes) - Method in class com.newrelic.telemetry.Attributes
 

R

Response - Class in com.newrelic.telemetry
The response (currently HTTP) from the ingest API.
Response(int, String, String) - Constructor for class com.newrelic.telemetry.Response
 
ResponseException - Exception in com.newrelic.telemetry.exceptions
This class represents a response that doesn't have a 202 status code.
RetryWithBackoffException - Exception in com.newrelic.telemetry.exceptions
This exception is thrown when the batch submission failed and the sender should follow a backoff algorithm when retrying the submission.
RetryWithBackoffException() - Constructor for exception com.newrelic.telemetry.exceptions.RetryWithBackoffException
 
RetryWithRequestedWaitException - Exception in com.newrelic.telemetry.exceptions
This exception is thrown when the request should be tried again after a period of time.
RetryWithRequestedWaitException(int, TimeUnit) - Constructor for exception com.newrelic.telemetry.exceptions.RetryWithRequestedWaitException
 
RetryWithSplitException - Exception in com.newrelic.telemetry.exceptions
This exception is thrown when the request was too large and should be split in half and tried again.
RetryWithSplitException() - Constructor for exception com.newrelic.telemetry.exceptions.RetryWithSplitException
 

S

secondaryUserAgent(String) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Configure a secondary User-Agent value to use when sending data.
secondaryUserAgent(String, String) - Method in class com.newrelic.telemetry.metrics.MetricBatchSenderBuilder
Deprecated.
Provide additional user agent information.
secondaryUserAgent(String, String) - Method in class com.newrelic.telemetry.spans.SpanBatchSenderBuilder
Deprecated.
Provide additional user agent information.
send(String) - Method in class com.newrelic.telemetry.transport.BatchDataSender
 
sendBatch(EventBatch) - Method in class com.newrelic.telemetry.events.EventBatchSender
Send a batch of events to New Relic.
sendBatch(LogBatch) - Method in class com.newrelic.telemetry.logs.LogBatchSender
Send a batch of logs to New Relic.
sendBatch(MetricBatch) - Method in class com.newrelic.telemetry.metrics.MetricBatchSender
Send a batch of metrics to New Relic.
sendBatch(SpanBatch) - Method in class com.newrelic.telemetry.spans.SpanBatchSender
Send a batch of spans to New Relic.
SenderConfiguration - Class in com.newrelic.telemetry
Configuration options for the various classes that send data to the New Relic ingest APIs.
SenderConfiguration(String, HttpPoster, URL, boolean, String) - Constructor for class com.newrelic.telemetry.SenderConfiguration
 
SenderConfiguration.SenderConfigurationBuilder - Class in com.newrelic.telemetry
 
SenderConfigurationBuilder(String, String) - Constructor for class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
 
serviceName(String) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
The name of the service which produced this log entry.
serviceName(String) - Method in class com.newrelic.telemetry.metrics.CommonAttributesBuilder
Specifies the service name of the current application.
serviceName(String) - Method in class com.newrelic.telemetry.metrics.MetricBatch.Builder
Optional.
serviceName(String) - Method in class com.newrelic.telemetry.metrics.MetricBuffer.Builder
Optional.
serviceName(String) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 
size() - Method in class com.newrelic.telemetry.TelemetryBatch
Returns the number of telemetry items in this collection.
Span - Class in com.newrelic.telemetry.spans
Spans are New Relic's analog of OpenTracing spans.
Span.SpanBuilder - Class in com.newrelic.telemetry.spans
A class for holding the variables associated with a Span object and creating a new Span object with those variables
SpanBatch - Class in com.newrelic.telemetry.spans
Represents a set of Span instances, to be sent up to the New Relic Trace API.
SpanBatch(Collection<Span>, Attributes) - Constructor for class com.newrelic.telemetry.spans.SpanBatch
 
SpanBatch(Collection<Span>, Attributes, String) - Constructor for class com.newrelic.telemetry.spans.SpanBatch
 
SpanBatchMarshaller - Class in com.newrelic.telemetry.spans.json
 
SpanBatchMarshaller(SpanJsonCommonBlockWriter, SpanJsonTelemetryBlockWriter) - Constructor for class com.newrelic.telemetry.spans.json.SpanBatchMarshaller
 
SpanBatchSender - Class in com.newrelic.telemetry.spans
Manages the sending of SpanBatch instances to the New Relic Spans API.
SpanBatchSenderBuilder - Class in com.newrelic.telemetry.spans
Deprecated.
SpanBatchSenderBuilder(SenderConfiguration.SenderConfigurationBuilder) - Constructor for class com.newrelic.telemetry.spans.SpanBatchSenderBuilder
Deprecated.
 
SpanBatchSenderFactory - Interface in com.newrelic.telemetry
A factory interface for creating a SpanBatchSender.
SpanJsonCommonBlockWriter - Class in com.newrelic.telemetry.spans.json
 
SpanJsonCommonBlockWriter(AttributesJson) - Constructor for class com.newrelic.telemetry.spans.json.SpanJsonCommonBlockWriter
 
SpanJsonTelemetryBlockWriter - Class in com.newrelic.telemetry.spans.json
 
SpanJsonTelemetryBlockWriter(AttributesJson) - Constructor for class com.newrelic.telemetry.spans.json.SpanJsonTelemetryBlockWriter
 
split() - Method in class com.newrelic.telemetry.TelemetryBatch
Split this batch into 2 roughly equal pieces.
Summary - Class in com.newrelic.telemetry.metrics
A Metric that represents an aggregated set of observations, with statistics, reported over an interval.
Summary(String, int, double, double, double, long, long, Attributes) - Constructor for class com.newrelic.telemetry.metrics.Summary
Create a new instance of a summary metric.

T

Telemetry - Interface in com.newrelic.telemetry
Telemetry is the root type for all pieces of telemetry data.
TelemetryBatch<T extends Telemetry> - Class in com.newrelic.telemetry
Represents a collection of Telemetry instances and some common attributes
TelemetryBatch(Collection<T>, Attributes) - Constructor for class com.newrelic.telemetry.TelemetryBatch
 
throwable(Throwable) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
Will assign a throwable to the log entry.
timestamp(long) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
The point in time (ms since UNIX epoch) that the log entry was created.
timestamp(long) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 
toJson(EventBatch) - Method in class com.newrelic.telemetry.events.json.EventBatchMarshaller
 
toJson(LogBatch) - Method in class com.newrelic.telemetry.logs.json.LogBatchMarshaller
 
toJson(MetricBatch) - Method in class com.newrelic.telemetry.metrics.json.MetricBatchMarshaller
 
toJson(SpanBatch) - Method in class com.newrelic.telemetry.spans.json.SpanBatchMarshaller
 
toJson(Map<String, Object>) - Method in class com.newrelic.telemetry.json.AttributesJson
 
toString() - Method in class com.newrelic.telemetry.Attributes
 
toString() - Method in class com.newrelic.telemetry.events.Event
 
toString() - Method in class com.newrelic.telemetry.events.EventBatch
 
toString() - Method in class com.newrelic.telemetry.events.EventBuffer
 
toString() - Method in class com.newrelic.telemetry.http.HttpResponse
 
toString() - Method in class com.newrelic.telemetry.logs.json.LogJsonCommonBlockWriter
 
toString() - Method in class com.newrelic.telemetry.logs.json.LogJsonTelemetryBlockWriter
 
toString() - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
 
toString() - Method in class com.newrelic.telemetry.logs.Log
 
toString() - Method in class com.newrelic.telemetry.metrics.Count
 
toString() - Method in class com.newrelic.telemetry.metrics.Gauge
 
toString() - Method in class com.newrelic.telemetry.metrics.MetricBuffer
 
toString() - Method in class com.newrelic.telemetry.metrics.Summary
 
toString() - Method in class com.newrelic.telemetry.Response
 
toString() - Method in class com.newrelic.telemetry.spans.json.SpanJsonCommonBlockWriter
 
toString() - Method in class com.newrelic.telemetry.spans.json.SpanJsonTelemetryBlockWriter
 
toString() - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 
toString() - Method in class com.newrelic.telemetry.spans.Span
 
toString() - Method in class com.newrelic.telemetry.spans.SpanBatch
 
toString() - Method in class com.newrelic.telemetry.TelemetryBatch
 
traceId(String) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
 

U

uriOverride(URI) - Method in class com.newrelic.telemetry.metrics.MetricBatchSenderBuilder
Deprecated.
Set a URI to override the default ingest endpoint.
uriOverride(URI) - Method in class com.newrelic.telemetry.spans.SpanBatchSenderBuilder
Deprecated.
Set a URI to override the default ingest endpoint.
Utils - Class in com.newrelic.telemetry.util
A class with helper functions
Utils() - Constructor for class com.newrelic.telemetry.util.Utils
 

V

verifyNonBlank(String, String) - Static method in class com.newrelic.telemetry.util.Utils
 
verifyNonNull(E) - Static method in class com.newrelic.telemetry.util.Utils
 
verifyNonNull(E, String) - Static method in class com.newrelic.telemetry.util.Utils
 

W

withError() - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
Call this to indicate that the span contains an error condition.
writeCountJson(Count) - Method in class com.newrelic.telemetry.metrics.json.MetricToJson
 
writeGaugeJson(Gauge) - Method in class com.newrelic.telemetry.metrics.json.MetricToJson
 
writeSummaryJson(Summary) - Method in class com.newrelic.telemetry.metrics.json.MetricToJson
 
A B C D E F G H I L M N P R S T U V W 
All Classes All Packages