Metric Browsing
The Metric Browsing page displays metric data of each resource. You can monitor metric values and trends in real time, and create alarm rules for real-time service data monitoring and analysis.
Monitoring Metrics
- Log in to the AOM 2.0 console.
- In the navigation pane, choose Metric Analysis > Metric Browsing.
- Select a target Prometheus instance from the drop-down list.
- Select one or more metrics from all metrics or by running Prometheus statements.
- Select metrics from all metrics.
For details about how to set monitoring conditions, see Table 2.
After selecting a target metric, you can set condition attributes to filter information. For example, different RDS DB instances have the CPU usage metric. You need to view the CPU usage metric of a specified RDS DB instance type. The procedure is as follows:
In the Metric text box, select the CPU usage metric of the corresponding RDS DB instance. In the Conditions area, set the dimension name to RDS for MySQL or RDS for PostgreSQL and select the corresponding dimension value. The CPU usage metric of the specified RDS DB instance type will be displayed.
You can click Add Metric to add metrics and set information such as statistical period for the metrics. After moving the cursor to the metric data and monitoring condition, you can perform the following operations as required:
- Click next to a monitoring condition to hide the corresponding metric data record in the graph.
- Click next to a monitoring condition to convert the metric data and monitoring condition into a Prometheus command.
- Click next to a monitoring condition to quickly copy the metric data and monitoring condition and modify them as required.
- Click next to a monitoring condition to remove a metric data record from monitoring.
- Select metrics by running Prometheus statements. For details about Prometheus statements, see Prometheus Statements.
- Select metrics from all metrics.
- Set metric parameters by referring to Table 1, view the metric graph in the upper part of the page, and analyze metric data from multiple perspectives.
Table 1 Metric parameters Parameter
Description
Statistic
Method used to measure metrics. Options: Avg, Min, Max, Sum, and Samples.
NOTE:Samples: the number of data points.
Time Range
Time range in which metric data is collected. Options: Last 30 minutes, Last hour, Last 6 hours, Last day, Last week, and Custom.
Refresh Frequency
Interval at which the metric data is refreshed. Options: Refresh manually, 30 seconds auto refresh, 1 minute auto refresh, and 5 minutes auto refresh.
- (Optional) Set the display layout of metric data.
On the right of the page, click the arrow next to the graph type, select your target graph type from the drop-down list, and set graph parameters, such as the X-axis name, Y-axis name, and displayed value. For details about the parameters, see Metric Data Graphs (Line/Digit/Top N/Table/Bar/Digital Line Graphs).
A maximum of 200 metric data records can be displayed in a line graph.
More Operations
You can also perform the operations listed in Table 2.
Operation |
Description |
---|---|
Adding an alarm rule for a metric |
After selecting a metric, click in the upper right corner of the metric list to add an alarm rule for the metric.
NOTE:
When you are redirected to the Create Alarm Rule page, your settings made on the Metric Browsing page will be automatically applied to Alarm Rule Settings and Alarm Rule Details areas. |
Deleting a metric |
Click next to the target metric. |
Adding a metric graph to a dashboard |
After selecting a metric, click in the upper right corner of the metric list. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot