Skip to content

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:

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, the query results return a maximum of 2,000 records by default. To adjust the number of returned records, you can specify the slimit parameter, with a maximum of 10,000 data records.

  • In time series mode, you can display query data by selecting different time intervals.

  • The return results of the "Query Tool" are consistent with those in the "Shortcut > Query Tool". If you add multiple queries and enable the status, the first query result is returned by default; up to 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's Time Widget.

For more details on data queries, 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

The independent chart switch is automatically hidden when there is only one query statement.

When you add multiple queries and the query result units are inconsistent, you can enable the independent chart mode. As shown below:

  • Before enabling independent charts:

  • After enabling independent charts:

Managing Queries

You can manage the Metric Analysis page through the following operations.

Units

You can configure units for query data display.

For specific configuration operations, refer to Units.

Legends

Legends are auxiliary elements of charts, used to distinguish data through different colors, points, and shapes. You can hide legends or adjust their 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 to CSV file
  • Export to Notebook
  • 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 use the Time Interval in the upper right corner of the Explorer to set the time interval to 10 seconds, 20 seconds, 30 seconds, 1 minute, 5 minutes, or 10 minutes.

Note

The Time Widget affects the data display range 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.

Feedback

Is this page helpful? ×