APM¶
APM (Application Performance Monitoring) is a full-stack performance analysis solution built by TrueWatch with distributed tracing as its core. It follows standardized protocols such as OpenTracing, and by deploying a unified collection agent at the host layer, it achieves platform-level correlation analysis of tracing data, infrastructure metrics, and application logs, enabling full-stack observability from code to resources.
Core Architecture: It adopts a single-host, single-agent architecture. Deploy DataKit as a unified data collector on each application server.
Core Features¶
Service Observability¶
-
Service Map: Visually view the call relationships between services through a topology map, supporting key metrics such as request count, error rate, average response time, P99/P95 response time, and maximum response time.
-
Service Details: View upstream and downstream services, service overview, associated logs and traces, and display abnormal trend charts for metrics (service request response time, error request distribution) and logs (error log count).
-
Service Performance: Quickly filter service performance based on service type, environment, version, project, and service name.
Traces¶
-
Trace Explorer: Search, filter, and export trace data, with powerful search capabilities to filter and view trace data at any time, quickly identifying abnormal traces.
-
Trace Details: Comprehensively analyze trace performance using tools such as flame graphs, Span lists, and waterfall charts, clearly tracking the data details of each trace performance for both synchronous and asynchronous calls.
Error Tracking¶
Error Tracking Explorer: Provides aggregated analysis and tracking capabilities for various errors occurring in distributed traces, supporting the viewing of historical trends of specific error types and their distribution across different services, interfaces, or instances.
Profiling¶
Profiling Explorer: Visualize and analyze application runtime CPU usage, method duration, etc., using deep performance profiling tools such as flame graphs.
Profiling Associated with Traces: Correlate application-layer performance bottlenecks (such as slow calls, high-duration methods) with resource consumption of underlying infrastructure.
Analysis Dashboard¶
Overview: Aggregated display of core analysis data for application performance, mainly including trace statistics (Span and request count and errors), associated anomalies (error logs), in-depth performance analysis (response time, call count, service request distribution, etc.), and resource-anomaly correlation.
Monitoring and Alerting¶
Application Performance Indicator Detection: Perform rule-based matching and filtering on trace performance data, define specific detection conditions (such as response time exceeding a threshold, occurrence of specific errors), and identify and filter requests that meet anomaly conditions from the full trace data.
Storage and Billing¶
The system counts the number of trace_ids in the current workspace and uses tiered pricing.
Specific billing rules and data storage policies (such as retention period) can be configured separately. Refer to Data Storage Policy.
For more billing rules, refer to Billing Method.