Enable APM Tracing¶
APM (Application Performance Monitoring) Tracing is used to track the complete call path of requests in distributed systems.
It helps you:
- Analyze performance bottlenecks: Locate the time consumption of each link (services, components) in the call chain
- Diagnose errors and exceptions: Quickly discover errors in the chain and their root causes
- Understand service dependencies: Visualize the call relationships between services
- Correlate monitoring data: Analyze comprehensively by linking with logs, metrics, and other data
Integration Methods¶
Guance APM supports the OpenTracing protocol. You can choose any of the following methods to integrate.
Method 1: Collect via DataKit (Recommended)¶
DataKit is the all-in-one data collector of Guance, supporting multiple APM protocols.
- Install DataKit;
-
- Enable and configure the corresponding DataKit collector based on the protocol used by your application (e.g., DDTrace, Jaeger, OpenTelemetry, SkyWalking, Zipkin)
-
Start/Restart DataKit: DataKit will automatically collect tracing data and report it to Guance.
Method 2: Direct SDK Integration¶
You can integrate the APM SDK provided by Guance into your application, supporting Java, Python, Go, Node.js, .NET, etc.
For the integration methods of each language SDK, refer to APM SDK.
View and Analyze Tracing Data¶
After successful integration, you can view and analyze APM tracing data through the following features:
Feature | Scenario |
---|---|
Tracing | Query the complete call chain, analyze time consumption (flame graph), locate error nodes |
Error Tracking | Aggregate and classify errors, track error chains, analyze error stacks |
Service Analysis | Monitor key service metrics (throughput/latency/error rate), drill down to analyze issues |
Dashboard | Customize visualization of performance metrics (e.g., P90/P99 latency, error rate, call volume) |
Log Correlation | One-click correlation of chain/error context logs, in-depth root cause analysis |
Through the above features, comprehensively grasp application performance and quickly locate issues.