Skip to content

Enable APM Distributed Tracing


Application Performance Monitoring (APM) Distributed Tracing is used to track the complete call path of requests in distributed systems.

It helps you:

  • Analyze performance bottlenecks: identify the time consumed by each component (service, component) along the call path;

  • Diagnose errors and exceptions: quickly discover errors occurring in the trace and their root causes;

  • Understand service dependencies: visualize the call relationships between services;

  • Correlate monitoring data: analyze in conjunction with logs, metrics, and other data for comprehensive troubleshooting.

Integration Methods

TrueWatch APM supports the OpenTracing protocol. You can integrate it using either of the following methods.

For new APM integrations, we recommend using Beacon first, which receives trace data through DataKit's OpenTelemetry collector.

DataKit is TrueWatch's all-in-one data collector, supporting multiple APM protocols.

  1. Install DataKit;

  2. Configure the APM collector;

    • Enable and configure the corresponding DataKit collector based on the protocol used by your application (such as DDTrace, Jaeger, OpenTelemetry, SkyWalking, Zipkin)
  3. Start/Restart DataKit: DataKit automatically collects trace data and reports it to TrueWatch.

Method 2: Integrate the SDK Directly

You can integrate the APM SDK provided by TrueWatch into your application, supporting Java, Python, Go, Node.js, .NET, and more.

For SDK integration instructions for each language, refer to APM SDK.

Viewing and Analyzing Trace Data

Once integrated, you can use the following features to view and analyze APM trace data:

Feature Scenario
Distributed Tracing Query complete call traces, analyze time consumption (Flame Graph), and locate error nodes
Error Tracking Aggregate and classify errors, trace affected traces, and analyze error stack traces
Service Analysis Monitor key service metrics (throughput/latency/error rate) and drill down to analyze issues
Dashboard Customize visualizations of performance metrics (such as P90/P99 latency, error rate, and call volume)
Log Correlation Correlate trace/error context logs with one click for in-depth root cause analysis

With the features above, you can gain a comprehensive understanding of application performance and quickly locate issues.