ApsaraDB RDS for PostgreSQL provides comprehensive Enhanced Monitoring metrics, including operating system metrics and database metrics. This topic describes how to view these metrics in the ApsaraDB RDS console.
Procedure
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the left-side navigation pane, click Monitoring And Alerts.
Select the Enhanced Monitoring tab, click Manage Metrics, and then select the metrics that you want to display on the Operating System Metrics tab and the Database Metrics tab. For more information about the metrics, see References.
NoteThe Enhanced Monitoring tab can display a maximum of 30 metrics.
You can apply the selected metrics to all ApsaraDB RDS for PostgreSQL instances in the region of the current RDS instance:
If the current RDS instance is equipped with standard SSDs or enhanced SSDs (ESSDs), you can apply the selected metrics to all ApsaraDB RDS for PostgreSQL instances that are equipped with standard SSDs or ESSDs in the region of the current RDS instance.
If the current RDS instance is equipped with local SSDs, you can apply the selected metrics to all ApsaraDB RDS for PostgreSQL instances that are equipped with local SSDs in the region of the current RDS instance.
Click Update Metrics. Then, you can view the monitoring data of the selected metrics on the Enhanced Monitoring tab.
Enhanced Monitoring supports the following aggregation methods:
Metric name.avg: the average value of the metric.
Metric name.max: the maximum value of the metric.
Metric name.min: the minimum value of the metric.
The Enhanced Monitoring tab provides a variety of query settings to help you view monitoring data easily.
Number
Feature
Description
1
Time range
You can query monitoring data over a preset time range or a custom time range.
The preset time range can be 30 minutes, 1 hour, 2 hours, 6 hours, 1 day, 7 days, or 30 days.
The custom time range is specified by a start time and an end time in the following format: YYYY-MM-DD hh:mm:ss - YYYY-MM-DD hh:mm:ss.
2
Aggregation method
You can specify the method based on which ApsaraDB RDS aggregates monitoring data. The following aggregation methods are supported:
Average
Maximum
Minimum
3
Layout
You can adjust the layout in which charts displayed. The following layouts are supported:
One column
Two columns
Three columns
Four columns
4
Time granularity
You can specify the time granularity of the x-axis in each chart that is displayed.
The time granularity varies based on the time range that you specify. The following relationships exist between the time granularity and the time range:
If the time range is less than or equal to 1 hour, the time granularity is 5 seconds.
If the time range is greater than 1 hour and less than or equal to 2 hours, the time granularity is 10 seconds.
If the time range is greater than 2 hours and less than or equal to 6 hours, the time granularity is 30 seconds.
If the time range is greater than 6 hours and less than or equal to 12 hours, the time granularity is 1 minute.
If the time range is greater than 12 hours and less than or equal to 1 day, the time granularity is 2 minutes.
If the time range is greater than 1 day and less than or equal to 5 days, the time granularity is 10 minutes.
If the time range is greater than 5 days and less than or equal to 15 days, the time granularity is 30 minutes.
If the time range is greater than 15 days and less than or equal to 30 days, the time granularity is 1 hour.
5
Pointer link
You can turn on Pointer Link. When you move the pointer over a specific point in time on the x-axis of a chart, all charts on the Enhanced Monitoring tab display the monitoring data that is collected at that specific point in time.
6
Refresh
You can manually refresh the Enhanced Monitoring tab to update monitoring data.
References
The following table describes the supported operating system metrics and database metrics. In the table, ticks (✔️) indicate that a metric is supported, and crosses (❌) indicate that a metric is not supported.
Related API operations
API operation | Description |
Queries the performance data of an ApsaraDB RDS instance. | |
Queries the list of available Enhanced Monitoring metrics. | |
Modifies displayed Enhanced Monitoring metrics. | |
Queries enabled Enhanced Monitoring metrics. |