Skip to main content

Supported Data Types

📈 Metrics

Overview

The New Relic destination exports OpenTelemetry metrics to the New Relic Metric API. Summary metrics marked as time-slice metrics are exported via the New Relic agent listener endpoint.

Configuration

FieldTypeDefaultRequiredDescription
NameStringnonetrueUnique identifier within Sawmills.
API KeyStringnonetrueNew Relic license key used to authenticate requests.
EndpointStringhttps://metric-api.newrelic.com/metric/v1trueNew Relic Metric API endpoint.
Agent EndpointStringhttps://collector.newrelic.com/agent_listener/invoke_raw_methodtrueNew Relic agent listener endpoint for time-slice metrics.
Enabled Data TypesCheckboxMetricsThe telemetry data types you want to export.

Metric Mapping

  • Gauge metrics map to gauge.
  • Sum metrics map to count with interval.ms derived from start and end timestamps.
  • Summary metrics map to summary with count/sum/min/max.
  • Histogram metrics map to summary with count/sum/min/max.
Exponential histograms are not supported.

Time-slice Metrics

Summary metrics are sent to the agent listener when they are marked as time-slice metrics or include New Relic agent attributes.