• /
  • Log in
  • Free account

Language agents: Enable distributed tracing

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:

  1. Meet the prerequisites
  2. (Infinite Tracing) Set up a trace observer
  3. Configure your agents
  4. View traces

Step 1. Prerequisites

Check the following sections to confirm that the distributed tracing options you want are available for your environment. Your main options are:

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.

Step 2. Set up Infinite Tracing (optional)

For all language agents except C SDK, you have the option of enabling Infinite Tracing. If you want to skip this and install standard distributed tracing, skip to Configure the agent.

If you want to enable Infinite Tracing, see Set up trace observer. When you're done, return here to complete the next step of configuring the agent to send data to the trace observer.

Step 3. Configure the agent

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.

Step 4. View traces

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.

Manual instrumentation (If automatic instrumentation doesn't work)

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.

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.