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.SenderConfiguration.SenderConfigurationBuilder
Configure the New Relic Insert API key to use.
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
 
asMap() - Method in class com.newrelic.telemetry.Attributes
Make a copy of these attributes.
attributeNameWarning(String) - Method in class com.newrelic.telemetry.util.IngestWarnings
 
attributes(Attributes) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
 
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
 
AttributesJson - Class in com.newrelic.telemetry.json
 
AttributesJson() - Constructor for class com.newrelic.telemetry.json.AttributesJson
 
attributeValueWarning(String) - Method in class com.newrelic.telemetry.util.IngestWarnings
 
auditLoggingEnabled(boolean) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Configure whether audit logging is enabled.
awaitTermination(int, TimeUnit) - Method in class com.newrelic.telemetry.LimitingScheduler
 

B

Backoff - Class in com.newrelic.telemetry
 
Backoff.Builder - Class in com.newrelic.telemetry
 
backoffFactor(int, TimeUnit) - Method in class com.newrelic.telemetry.Backoff.Builder
The base amount of time to start doubling from when backing off.
BaseConfig - Class in com.newrelic.telemetry
A configuration class for several common settings.
BaseConfig(String) - Constructor for class com.newrelic.telemetry.BaseConfig
Create a new BaseConfig with a required apiKey.
BaseConfig(String, boolean) - Constructor for class com.newrelic.telemetry.BaseConfig
Create a new BaseConfig with a required apiKey and a setting for auditLoggingEnabled.
BaseConfig(String, boolean, String) - Constructor for class com.newrelic.telemetry.BaseConfig
Creates a new BaseConfig.
BatchDataSender - Class in com.newrelic.telemetry.transport
 
BatchDataSender(HttpPoster, String, URL, boolean, String) - Constructor for class com.newrelic.telemetry.transport.BatchDataSender
 
BatchDataSender(HttpPoster, String, URL, boolean, String, boolean) - Constructor for class com.newrelic.telemetry.transport.BatchDataSender
 
build() - Method in class com.newrelic.telemetry.Backoff.Builder
Create a Backoff instance
build() - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
 
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.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
 
builder() - Static method in class com.newrelic.telemetry.Backoff
 
builder() - Static method in class com.newrelic.telemetry.logs.Log
 
builder() - Static method in class com.newrelic.telemetry.metrics.MetricBatch
 
builder() - Static method in class com.newrelic.telemetry.metrics.MetricBuffer
Returns a new Builder instance for help with creating new MetricBatch instances
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.Backoff.Builder
 
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(BaseConfig) - Method in interface com.newrelic.telemetry.EventBatchSenderFactory
Creates a new SenderConfigurationBuilder to help with constructing a EventBatchSender.
configureWith(BaseConfig) - Method in interface com.newrelic.telemetry.LogBatchSenderFactory
Creates a new SenderConfigurationBuilder to help with constructing a LogBatchSender.
configureWith(BaseConfig) - Method in interface com.newrelic.telemetry.MetricBatchSenderFactory
Creates a new SenderConfigurationBuilder to help with constructing a MetricBatchSender.
configureWith(BaseConfig) - Method in interface com.newrelic.telemetry.SpanBatchSenderFactory
Creates a new SenderConfigurationBuilder to help with constructing a 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.
create(Supplier<HttpPoster>, BaseConfig) - Static method in class com.newrelic.telemetry.events.EventBatchSender
Creates a new EventBatchSender with the given supplier of HttpPoster impl and a BaseConfig instance, with all configuration NOT in BaseConfig being default.
create(Supplier<HttpPoster>, BaseConfig) - Static method in class com.newrelic.telemetry.logs.LogBatchSender
Creates a new LogBatchSender with the given supplier of HttpPoster impl and a BaseConfig instance, with all configuration NOT in BaseConfig being default.
create(Supplier<HttpPoster>, BaseConfig) - Static method in class com.newrelic.telemetry.metrics.MetricBatchSender
Creates a new MetricBatchSender with the given supplier of HttpPoster impl and a BaseConfig instance, with all configuration NOT in BaseConfig being default.
create(Supplier<HttpPoster>, BaseConfig) - Static method in class com.newrelic.telemetry.spans.SpanBatchSender
Creates a new SpanBatchSender with the given supplier of HttpPoster impl and a BaseConfig instance, with all configuration NOT in BaseConfig being default.
create(Supplier<HttpPoster>, BaseConfig) - Static method in class com.newrelic.telemetry.TelemetryClient
Create a fully operational TelemetryClient from a BaseConfig instance
create(Supplier<HttpPoster>, String) - Static method in class com.newrelic.telemetry.TelemetryClient
Create a fully operational TelemetryClient with all default options.
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

defaultBackoff() - Static method in class com.newrelic.telemetry.Backoff
 
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

endpoint(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.

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
 
generateUUID() - Static method in class com.newrelic.telemetry.util.Utils
 
getApiKey() - Method in class com.newrelic.telemetry.BaseConfig
 
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
 
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
 
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
 
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
 
getRegion() - Method in class com.newrelic.telemetry.SenderConfiguration
 
getSecondaryUserAgent() - Method in class com.newrelic.telemetry.BaseConfig
 
getSecondaryUserAgent() - Method in class com.newrelic.telemetry.SenderConfiguration
 
getServiceName() - Method in class com.newrelic.telemetry.logs.Log
 
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
 
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
 
getUuid() - Method in class com.newrelic.telemetry.TelemetryBatch
 
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.SenderConfiguration.SenderConfigurationBuilder
 
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

IngestWarnings - Class in com.newrelic.telemetry.util
 
IngestWarnings() - Constructor for class com.newrelic.telemetry.util.IngestWarnings
 
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.BaseConfig
 
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
 
isTerminated() - Method in class com.newrelic.telemetry.LimitingScheduler
 

L

level(String) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
 
LimitingScheduler - Class in com.newrelic.telemetry
A scheduler that delegates to a ScheduledExecutorService while also enforcing a maximum upper bound of the amount of work that is being done.
LimitingScheduler(ScheduledExecutorService, int) - Constructor for class com.newrelic.telemetry.LimitingScheduler
 
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
 
LoggingNotificationHandler - Class in com.newrelic.telemetry
The default NotificationHandler for logging TelemetryClient responses.
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

maxBackoff(int, TimeUnit) - Method in class com.newrelic.telemetry.Backoff.Builder
The max time between retries
maxRetries(int) - Method in class com.newrelic.telemetry.Backoff.Builder
Define max of retries
message(String) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
 
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.
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
 
nextWaitMs() - Method in class com.newrelic.telemetry.Backoff
Computes the next wait time and does NOT actually sleep.
noticeError(String, TelemetryBatch<? extends Telemetry>) - Method in interface com.newrelic.telemetry.NotificationHandler
Notice error events.
noticeError(String, Throwable, TelemetryBatch<? extends Telemetry>) - Method in class com.newrelic.telemetry.LoggingNotificationHandler
 
noticeError(String, Throwable, TelemetryBatch<? extends Telemetry>) - Method in interface com.newrelic.telemetry.NotificationHandler
Notice error events.
noticeInfo(String, TelemetryBatch<? extends Telemetry>) - Method in interface com.newrelic.telemetry.NotificationHandler
Notice info events.
noticeInfo(String, Exception, TelemetryBatch<? extends Telemetry>) - Method in class com.newrelic.telemetry.LoggingNotificationHandler
 
noticeInfo(String, Exception, TelemetryBatch<? extends Telemetry>) - Method in interface com.newrelic.telemetry.NotificationHandler
Notice info events.
NotificationHandler - Interface in com.newrelic.telemetry
To handle notifications, an implementation of this interface must be provided.

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
Merge attributes into current attributes

R

raiseIngestWarnings(Map<String, Object>, Telemetry) - Method in class com.newrelic.telemetry.util.IngestWarnings
 
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
 
RetryWithBackoffException(String, Throwable) - 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
 
returnEndpoint(String) - Static method in class com.newrelic.telemetry.events.EventBatchSender
 
returnEndpoint(String) - Static method in class com.newrelic.telemetry.logs.LogBatchSender
 
returnEndpoint(String) - Static method in class com.newrelic.telemetry.metrics.MetricBatchSender
 
returnEndpoint(String) - Static method in class com.newrelic.telemetry.spans.SpanBatchSender
 

S

schedule(int, Runnable) - Method in class com.newrelic.telemetry.LimitingScheduler
 
schedule(int, Runnable, long, TimeUnit) - Method in class com.newrelic.telemetry.LimitingScheduler
 
secondaryUserAgent(String) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Configure a secondary User-Agent value to use when sending data.
send(String, TelemetryBatch<? extends Telemetry>) - Method in class com.newrelic.telemetry.transport.BatchDataSender
Sends a compressed byte[] of telemetry to New Relic
sendBatch(EventBatch) - Method in class com.newrelic.telemetry.events.EventBatchSender
Send a batch of events to New Relic.
sendBatch(EventBatch) - Method in class com.newrelic.telemetry.TelemetryClient
Send a batch of Event instances, with standard retry logic.
sendBatch(LogBatch) - Method in class com.newrelic.telemetry.logs.LogBatchSender
Send a batch of logs to New Relic.
sendBatch(LogBatch) - Method in class com.newrelic.telemetry.TelemetryClient
Send a batch of Log entries, with standard retry logic.
sendBatch(MetricBatch) - Method in class com.newrelic.telemetry.metrics.MetricBatchSender
Send a batch of metrics to New Relic.
sendBatch(MetricBatch) - Method in class com.newrelic.telemetry.TelemetryClient
Send a batch of Metric instances, with standard retry logic.
sendBatch(SpanBatch) - Method in class com.newrelic.telemetry.spans.SpanBatchSender
/** Send a batch of spans to New Relic.
sendBatch(SpanBatch) - Method in class com.newrelic.telemetry.TelemetryClient
Send a batch of Span instances, with standard retry logic.
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(String, HttpPoster, URL, boolean, String, 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
 
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
 
setRegion(String) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
Sets the region so that it is used in the individual batch senders (e.x.
shutdown() - Method in class com.newrelic.telemetry.LimitingScheduler
 
shutdown() - Method in class com.newrelic.telemetry.TelemetryClient
Cleanly shuts down the background Executor thread.
shutdownNow() - Method in class com.newrelic.telemetry.LimitingScheduler
 
size() - Method in class com.newrelic.telemetry.events.EventBuffer
Get the size of the Events buffer.
size() - Method in class com.newrelic.telemetry.metrics.MetricBuffer
Get the size of the Metrics buffer.
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.
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
 
TelemetryClient - Class in com.newrelic.telemetry
This class should be the go-to spot for sending telemetry to New Relic.
TelemetryClient(MetricBatchSender, SpanBatchSender, EventBatchSender, LogBatchSender) - Constructor for class com.newrelic.telemetry.TelemetryClient
Create a new TelemetryClient instance, with four senders.
TelemetryClient(MetricBatchSender, SpanBatchSender, EventBatchSender, LogBatchSender, int, boolean) - Constructor for class com.newrelic.telemetry.TelemetryClient
Create a new TelemetryClient instance, with four senders and seconds to wait for shutdown.
TelemetryClient(MetricBatchSender, SpanBatchSender, EventBatchSender, LogBatchSender, int, boolean, int) - Constructor for class com.newrelic.telemetry.TelemetryClient
Create a new TelemetryClient instance, with four senders and seconds to wait for shutdown.
throwable(Throwable) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
 
timestamp(long) - Method in class com.newrelic.telemetry.logs.Log.LogBuilder
 
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

useLicenseKey() - Method in class com.newrelic.telemetry.SenderConfiguration
 
useLicenseKey(boolean) - Method in class com.newrelic.telemetry.SenderConfiguration.SenderConfigurationBuilder
 
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

warningNumAttributes(String) - Method in class com.newrelic.telemetry.util.IngestWarnings
 
withError() - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
Call this to indicate that the span contains an error condition.
withError(String) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
Call this to indicate that the span contains an error condition with the given message.
withError(String, String) - Method in class com.newrelic.telemetry.spans.Span.SpanBuilder
Call this to indicate that the span contains an error condition with the given message and class.
withNotificationHandler(NotificationHandler) - Method in class com.newrelic.telemetry.TelemetryClient
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