Supported Data Types
📈 MetricsOverview
The New Relic source accepts metrics from the New Relic Metric API and the New Relic Agent protocol. Metric API payloads are received onmetrics_path, and Agent payloads use agent_base_path with a method query parameter.
Configuration
Send metrics to the collector
Point your app’s New Relic endpoints at the Sawmills collector. You need to configure two environment variables:
Both must be set. If you only set one, part of your telemetry bypasses Sawmills.
Your
<collector-id> is shown in the Sawmills UI under your pipeline’s collector details.
For a full Java app walkthrough, see How to send data from a New Relic Java app.
Minimal Telemetry SDK example:
Metric API Format
Supported metric types:gaugecount(requiresinterval.ms)summary
Agent Protocol
Supported methods:preconnectconnectmetric_data
countsumminandmax(as quantiles 0 and 1)sawmills.scopeattribute when presentsawmills.exclusive_timeattributesawmills.sum_squaresattribute