Metric Analysis¶
After data collection and reporting to the workspace, you can query and analyze metrics and other data types on the Metrics > Metric Analysis page.
Query Methods¶
For more details, refer to Chart Query.
Query results can be viewed in four visualization modes:
- Area chart
- Line chart
- Bar chart
- Table chart
Table Chart¶
In table chart mode, four display options are supported:
- Time series mode
- Group mode
- Query tool
- Prom: Only returns PromQL query results
Note
-
In the first three modes, query results return a maximum of 2,000 records by default. To adjust the number of returned records, use the
slimitparameter to specify, with a maximum of 10,000 data records. -
In time series mode, you can display query data by selecting different time intervals.
- The results of the "Query tool" are consistent with those in "Shortcut > Query tool". If you add multiple queries and enable status, the results of the first query are returned by default; a maximum of 2,000 records can be exported.
- In Prom mode, query results can be exported; if a time range is specified in the PromQL query statement, all data within that range is displayed, unaffected by the page time widget.
For more details on data querying, 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¶
Note
When there is only one query statement, the independent chart toggle is automatically hidden.
When you add multiple queries simultaneously and the units of the query results differ, you can enable the independent chart mode. As shown below:
- Before enabling independent charts:
- After enabling independent charts:
Manage Queries¶
You can manage the Metric Analysis page through the following operations.
Data Format¶
Numerical values in query results support flexible display format settings, including decimal places:
- 0/1/2/3 decimal places
- Full precision
You can also configure whether to display data based on thousand separators and scientific notation.
Units¶
You can configure units to display query data.
For specific configuration operations, refer to Units.
Legend¶
The Legend is an auxiliary element 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 distinguish data trends of different metrics through colors, you can click the color settings button in the upper right corner of the explorer to customize the legend colors.
Export¶
After completing metric analysis and obtaining query results, you can click the export button to perform the following operations:
- Export as CSV file
- Export to note
- Export to dashboard
- Copy to clipboard
Time Interval¶
The time interval refers to the length of time between data points in a time series chart. You can set the time interval precisely to 10 seconds, 20 seconds, 30 seconds, 1 minute, 5 minutes, or 10 minutes via the time interval in the upper right corner of the explorer.
Note
The time widget affects the display range of data in metric analysis, so the available time intervals are automatically adjusted based on the time widget's range. For example, if you choose to view metric data from the last 15 minutes, you cannot select "1 hour" as the time interval.




