Here's what you need to know for enabling either standard distributed tracing or Infinite Tracing with our language agents.
If you want to get more background before getting started, check out these topics:
The process of enabling distributed tracing takes you through these steps:
Check the following sections to confirm that the distributed tracing options you want are available for your environment. Your main options are:
- Standard distributed tracing: Head-based sampling
- Infinite Tracing: Tail-based sampling
- Support for W3C Trace Context: Available in all Infinite Tracing agents and in standard distributed tracing agents as noted
Once you find the agent version with the features you want, follow the links for help installing or updating your agent. For best results, update existing agents to the latest version.
Distributed tracing is enabled through configuration settings. Review the following agent-specific sections. If you're enabling Infinite Tracing, there are different configuration options for that. For more about agent configuration, see Configure the agent.
Server-side configuration is not available for Infinite Tracing.
If you need help with proxy configuration, see Proxy support.
After you configure your APM agents to send data to your trace observer, you're ready to view traces. Here are two alternatives:
You can also run custom queries and create custom charts of your trace data. See Query trace data.
Recommendation: Before performing any custom instrumentation, read:
If a service is not passing the trace header to other services, you can use the distributed tracing payload APIs to instrument the calling service and the called service. The calling service uses an API call to generate a payload, which is accepted by the called service.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.