Our Trace API is used to send distributed tracing data to New Relic: either in our own generic format or the Zipkin data format. This API is also how trace data from some of our integrations and exporters is reported to New Relic.
Want to try out the Trace API? Make sure you've created a free New Relic account. No credit card required.
To skip some introductory content and get started quickly, go to Start reporting data.
What is the Trace API?The Trace API is one way that New Relic collects distributed tracing data. We have some tracing tools that report data via this API (Infinite Tracing, our open source integrations, and our Telemetry SDKs), or you can use the API directly to create your own tracing implementation.
Reasons to use the Trace API:
Want to understand how trace data relates to other New Relic data? Read about our data types.
RequirementsFor details about what data you can send and how it is handled, see Rules and limits.
Sampling considerationsWhen using the Trace API, you have the option to enable Infinite Tracing. Whether you use Infinite Tracing has implications for how you configure sampling:
The Trace API accepts trace data in these two JSON formats:
zipkin
: the Zipkin JSON v2 trace data format (learn what Zipkin is ). Get started sending Zipkin data.newrelic
: our general format. If you don't have Zipkin-format data, use this. Get started sending New Relic-format data.Having problems getting data to report? See Troubleshooting.
Find dataYou can find data sent via the Trace API, or from integrations that use this API, in these locations:
Here are some additional steps to consider:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4