To set up distributed tracing, you'll complete these three general steps:
- Identify services: Identify and write down the endpoints, services, languages, and systems that are used to complete this request (you'll need this information in the next step). If you have an environment diagram like the following, you could use it to create a list of services handling requests:
Instrument services: Instrument each service you identify so it can send your trace data. Some tools, such as New Relic APM agents, instrument services automatically, while other tools require you to insert some code in the services. Click the icon below for instrumentation steps:New Relic APM: CNew Relic APM: GolangNew Relic APM: JavaNew Relic APM: .NETNew Relic APM: Node.jsNew Relic APM: PHPNew Relic APM: PythonNew Relic APM: RubyNew Relic BrowserNew Relic MobileAWS Lambda FunctionsIstioKamonOpenTelemetryX-RayZipkin format: custom integrationNew Relic format: custom integration
View traces: After you instrument the services, generate some traffic in your application, and then go to the New Relic UI to see your trace data.