New Relic
The New Relic destination sends logs, metrics, and traces to New Relic using the OpenTelemetry Protocol (OTLP). Telemetry is delivered to a region-specific OTLP endpoint and authenticated with a New Relic license key.
Supported Telemetry Types
Linux
✓
✓
✓
Windows
✓
✓
✓
macOS
✓
✓
✓
Prerequisites
A New Relic account and an ingest license key.
The OTLP endpoint for the region where your account is based (US, EU, or FedRAMP). See New Relic OTLP endpoints.
Outbound network access from the collector to the chosen OTLP endpoint on TCP port
443.
Configuration

General
Choose Telemetry Type
Telemetry Selector
["Logs","Metrics","Traces"]
Select which types of telemetry to export. Valid values: Logs, Metrics, Traces.
OTLP Endpoint
Enum
https://otlp.nr-data.net
Required. Endpoint where the exporter sends data to New Relic. Endpoints are region-specific, so use the one where your account is based. Valid values: https://otlp.nr-data.net (US), https://otlp.eu01.nr-data.net (EU), https://gov-otlp.nr-data.net (FedRAMP).
License Key
String
Required. Sensitive. License key used for data ingest.
Advanced
Compression
Enum
gzip
Compression algorithm to use when sending data to New Relic. Valid values: none, gzip.
Drop Raw Copy
Boolean
true
When enabled, the raw copy of the log stored in log.record.original is dropped. Applies to logs only.
Retry on Failure
Enable Retry on Failure
Boolean
true
Attempt to resend telemetry data that has failed to be transmitted to the destination.
Initial interval
Integer
5
Time (in seconds) to wait after the first failure before retrying. Applies when retry on failure is enabled.
Max interval
Integer
30
The upper bound (in seconds) on backoff. Applies when retry on failure is enabled.
Max elapsed time
Integer
300
The maximum amount of time (in seconds) spent trying to send a batch, used to avoid a never-ending retry loop. Applies when retry on failure is enabled.
Sending Queue
Enable Sending Queue
Boolean
true
Buffer telemetry data temporarily before sending to help ensure telemetry data is not lost during a temporary network outage.
Number of Consumers
Integer
10
Number of consumers that dequeue batches. Applies when the sending queue is enabled.
Queue Size
Integer
5000
Maximum number of batches kept in memory before dropping. Applies when the sending queue is enabled.
Enable Persistent Queuing
Boolean
true
Buffer telemetry data to disk before sending to help ensure data is not lost during network outages or collector restarts. Applies when the sending queue is enabled.
Persistent Queue Storage
Extension
file_storage_persistent_queue
The storage to use for the persistent queue. Required when both the sending queue and persistent queuing are enabled. See Persistent Queue.
Example Configuration
Standalone Destination
Configuration Tips
Choosing the right region endpoint
The
endpointmust match the region your New Relic account is based in. Usehttps://otlp.nr-data.netfor US accounts,https://otlp.eu01.nr-data.netfor EU accounts, andhttps://gov-otlp.nr-data.netfor FedRAMP accounts.Sending data to the wrong region endpoint causes ingest to be rejected even with a valid license key.
License key
The
license_keyis sensitive and is sent as theapi-keyheader on every OTLP request. Use a New Relic ingest license key, not a user or browser key.
Reducing log volume
Leave
drop_raw_copyenabled to drop the rawlog.record.originalattribute and reduce the volume of log data billed by New Relic. Disable it only when you need the original record preserved downstream.
Troubleshooting
Symptom: Data is rejected or does not appear in New Relic despite a valid configuration. Solution: Confirm the endpoint matches your account region (US, EU, or FedRAMP). A license key is region-bound, so data sent to the wrong endpoint is rejected.
Symptom: Telemetry is intermittently dropped during network instability. Solution: Ensure retry_on_failure_enabled and sending_queue_enabled are on. For durability across collector restarts, enable persistent_queue_enabled and configure a persistent queue storage extension.
Symptom: Authentication failures or 403-style ingest errors. Solution: Verify the license_key is a New Relic ingest license key and that outbound access to the OTLP endpoint on TCP port 443 is permitted by your network.
Related Resources
Last updated
Was this helpful?