Supported Data Types
📈 MetricsOverview
The New Relic destination selects the native New Relic endpoint from the source data format.
Infrastructure samples do not go to the Metric API. Sawmills rebuilds their native event and entity grouping after processors run and sends them to the Infrastructure metrics API.
Configuration
The APM and Infrastructure endpoints use service defaults. The Infrastructure endpoint is
https://infra-api.newrelic.com/infra/v2/metrics/events/bulk for US keys and https://infra-api.eu.newrelic.com/infra/v2/metrics/events/bulk for EU keys.
Infrastructure account requirement
The destination license key must be the exact ingest license key used by the Infrastructure agent. The collector compares a one-way fingerprint of the source key with the destination key before it sends data. This check prevents an identity request for one account from being combined with metric data for another account. A mismatch stops Infrastructure export before a network request.Warning: Use an ingest license key. Do not use the User API key from the New Relic account integration.
Metric mapping
- Gauge metrics map to
gauge. - Sum metrics map to
count, withinterval.msfrom the start and end timestamps. - Summary metrics map to
summary, with count, sum, minimum, and maximum. - Histogram metrics map to
summary, with count, sum, minimum, and maximum.
APM time-slice metrics
Summary metrics go to the APM agent listener when they have the New Relic time-slice marker or agent attributes.Infrastructure samples
The New Relic source converts Infrastructure samples to OpenTelemetry metrics. Processors can reduce the data between the source and destination. The destination then:- Groups fields by the saved sample and entity identity.
- Rebuilds the native
MetricPostbatches. - Restores original field names and value types.
- Sends the batches to the regional Infrastructure metrics API.
- Forwards the required New Relic entity headers.