turbot/alicloud
steampipe plugin install alicloud

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,
average
from
alicloud_ecs_disk_metric_read_iops
order by
instance_id,
timestamp;
select
instance_id,
timestamp,
minimum,
maximum,
average
from
alicloud_ecs_disk_metric_read_iops
order 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_ops
from
alicloud_ecs_disk_metric_read_iops
where
average > 1000
order 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_ops
from
alicloud_ecs_disk_metric_read_iops
where
average > 1000
order by
instance_id,
timestamp;

Schema for alicloud_ecs_disk_metric_read_iops

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
account_idtext=, !=, ~~, ~~*, !~~, !~~*The Alicloud Account ID in which the resource is located.
averagedouble precisionThe average of the metric values that correspond to the data point.
instance_idtextAn unique identifier for the resource.
maximumdouble precisionThe maximum metric value for the data point.
metric_nametextThe name of the metric.
minimumdouble precisionThe minimum metric value for the data point.
namespacetextThe metric namespace.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
timestamptimestamp with time zoneThe 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