Metric query¶
Metric query supports querying the index data of each container resource, and you can view the trend changes of the monitoring index. At the same time, advanced query supports native PromQL statements for Metric query.
Prerequisites¶
- The cluster has insight-agent installed and the application is in running state.
Common query¶
-
In the left navigation bar, click Data Query -> metric Query .
-
After selecting query conditions such as cluster, type, node, and metric name, click Search , and the proper metric chart and data details will be displayed on the right side of the screen.
Tip
Support custom time range. You can manually click the Refresh icon or select a default time interval to refresh.
Advanced Search¶
-
In the left navigation bar, click Data Query -> metric Query , click the Advanced Query tab to switch to the advanced query page.
-
Enter a PromQL statement (see PromQL Syntax), click Query , and the query metric chart and data details will be displayed.