Table: alicloud_ecs_disk_metric_read_iops - Query Alibaba Cloud ECS Disk Metrics using SQL
Alibaba Cloud Elastic Compute Service (ECS) is a high-performance, stable, reliable, and scalable IaaS-level service provided by Alibaba Cloud. ECS eliminates the need to invest in IT hardware up front and allows you to quickly scale computing resources on demand, making ECS more convenient and efficient than physical servers. ECS provides a variety of instance types that suit different business needs and help boost business growth.
Table Usage Guide
The alicloud_ecs_disk_metric_read_iops
table provides insights into the read IOPS of disks within Alibaba Cloud Elastic Compute Service (ECS). As a system administrator, explore disk-specific details through this table, including performance metrics, potential bottlenecks, and associated metadata. Utilize it to uncover information about disk performance, such as those with high read IOPS, and the verification of disk performance policies.
Examples
Basic info
Explore the performance of various instances over time by analyzing their minimum, maximum, and average read IOPS (Input/Output Operations Per Second). This can help in identifying instances that may need optimization or troubleshooting.
select instance_id, timestamp, minimum, maximum, averagefrom alicloud_ecs_disk_metric_read_iopsorder by instance_id, timestamp;
select instance_id, timestamp, minimum, maximum, averagefrom alicloud_ecs_disk_metric_read_iopsorder by instance_id, timestamp;
Intervals where operation exceed 1000 average read iops
Pinpoint specific intervals where the average read operations per second (iops) on your Alicloud Elastic Compute Service (ECS) disk exceed 1000. This helps in identifying potential performance bottlenecks and planning for capacity upgrades.
select instance_id, timestamp, round(minimum :: numeric, 2) as min_ops, round(maximum :: numeric, 2) as max_ops, round(average :: numeric, 2) as avg_opsfrom alicloud_ecs_disk_metric_read_iopswhere average > 1000order by instance_id, timestamp;
select instance_id, timestamp, round(minimum, 2) as min_ops, round(maximum, 2) as max_ops, round(average, 2) as avg_opsfrom alicloud_ecs_disk_metric_read_iopswhere average > 1000order by instance_id, timestamp;
Schema for alicloud_ecs_disk_metric_read_iops
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The Alicloud Account ID in which the resource is located. |
average | double precision | The average of the metric values that correspond to the data point. | |
instance_id | text | An unique identifier for the resource. | |
maximum | double precision | The maximum metric value for the data point. | |
metric_name | text | The name of the metric. | |
minimum | double precision | The minimum metric value for the data point. | |
namespace | text | The metric namespace. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
timestamp | timestamp with time zone | The timestamp used for the data point. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- alicloud
You can pass the configuration to the command with the --config
argument:
steampipe_export_alicloud --config '<your_config>' alicloud_ecs_disk_metric_read_iops