Metrics Analysis¶
After data collection and reporting to the workspace, you can query and analyze metrics and other data types on the Metrics > Metrics Analysis page.
Query Method¶
For more details, refer to Chart Query.
Query results can be viewed through four visualization modes:
- Area Chart
- Line Chart
- Bar Chart
- Table Chart
Table Chart¶
The table chart supports "Time Series Mode" and "Grouping Mode," and provides a "Query Tool" for efficient analysis. The return results of the query tool are consistent with the results in "Shortcut > Query Tool."
In Time Series Mode, you can display query data by selecting different time intervals.
-
In all three modes, query results return up to 2,000 records by default. To adjust the number of returned records, specify the
slimit
parameter, with a maximum return of 10,000 data records. -
In "Query Tool" mode, if you add multiple queries and enable status, it defaults to returning the result of the first query; up to 2,000 records can be exported.
For more data query instructions, refer to Chart Query and Query Tool.
Query History¶
In the "Query History" feature, you can view query data from the past week, including query statements and corresponding times.
Independent Charts¶
When you add multiple queries simultaneously and the units of the query results are inconsistent, you can enable independent chart mode. As shown below:
- Before enabling independent charts:
- After enabling independent charts:
Manage Queries¶
You can manage the metrics analysis page through the following operations.
Units¶
You can configure units for query data to be displayed.
For specific configuration operations, refer to Units.
Legends¶
Legends are auxiliary elements of the chart used to distinguish data through different colors, points, and shapes. You can hide the legend or adjust its position to the bottom or right by clicking the legend button in the upper-right corner of the explorer.
Colors¶
To better differentiate trends of different metrics using colors, you can click the color settings button in the upper-right corner of the explorer to customize and modify the legend colors.
Export¶
After completing metrics analysis and obtaining query results, you can click the export button to perform the following actions:
- Export as CSV file
- Export to notes
- Export to dashboard
- Copy to clipboard
Time Interval¶
A time interval refers to the time length between data points in a Time Series Chart. You can set the time interval to 10 seconds, 20 seconds, 30 seconds, 1 minute, 5 minutes, and 10 minutes via the time interval option in the upper-right corner of the explorer.
Note
Time Widget affects the data display range of metrics analysis, so the selectable time intervals will automatically adjust based on the range of the time widget. For example, if you choose to view metrics data for the last 15 minutes, you cannot select "1 hour" as the time interval.