On the Metrics Explorer page of the Alibaba Cloud Managed Service for Prometheus console, you can select metrics or specify Prometheus Query Language (PromQL) statements to view or verify the monitoring data.
Prerequisites
Application Real-Time Monitoring Service (ARMS) is activated. For more information, see Activate ARMS.
Procedure
Log on to the ARMS console.
In the left-side navigation pane, choose
.Select a Prometheus instance from the drop-down list at the top of the page.
In the A section, select metrics and click Run query. Select a mode based on your business requirements.
Code: Manually enter a PromQL statement. For more information about the PromQL syntax, see Prometheus documentation.
Builder: Select metrics and add operations to generate a PromQL statement.
Metric and Labels filters: You can search for metrics by keyword and select metrics and specify labels. This helps you filter metric data.
Operations: You can click + Operation to add operations. You can add functions, range functions, aggregations, and binary operations.