Error Tracking¶
Guance provides an APM error data analysis explorer, you can quickly view the historical trend and distribution of similar errors in the trace in APM > Error Tracking, helping to quickly locate performance issues.
The error tracking explorer includes two lists: All Errors and Pattern:
- All Errors: Used to need to view all trace errors that occur in the project application;
- Pattern: Used for quickly viewing the most frequently occurring trace errors that need to be resolved.
Guance explorer provides powerful query and analysis functions, see Powerful Explorer.
All Errors¶
In the Guance workspace APM > Error Tracking, select the All Errors list to view and analyze all trace error data.
Note: All error data statistics are based on error status status=error
, and contain the error type error_type
field in the Span.
Correlation Analysis¶
In the error tracking explorer, you can click on any error to view the corresponding error trace details, including services, error types, error content, error distribution maps, error details, trace details, extended attributes, and associated logs, hosts, Networks, etc.
In Error explorer Details Page > Error Distribution Map, based on error_message
and error_type
two fields, aggregate statistics of high similarity error traces, and according to the time range selected by the error explorer, automatically select the corresponding time interval to display the distribution trend of errors. This helps you intuitively view the time point or time range of frequent errors and quickly locate trace problems.
Pattern¶
If you need to view more frequently occurring errors, you can select the Pattern list in the Guance workspace APM > Error Tracking.
Pattern is a similarity calculation analysis of all error trace data based on cluster fields. The time range selected in the upper right corner is fixed for the current time period, and 10000 data within this time period are obtained for pattern. The error traces with high similarity are aggregated, and the common Pattern clusters are extracted and counted to help quickly find abnormal traces and locate problems.
By default, aggregation is performed based on the error_message
field, and you can customize the input clustering field, up to 3 can be entered.
Pattern Details¶
- In the pattern list, you can click on any error to view all associated error traces, click on the trace to enter the error trace detail page for viewing and analysis;
- In the pattern page, click the sorting icon & , you can sort the document quantity in ascending/descending order (default descending).
- If you need to export a piece of data, open the data detail page and click the icon in the upper right corner.