turbot/alicloud
steampipe plugin install alicloud

Table: alicloud_ecs_disk_metric_read_iops_hourly - Query Alibaba Cloud ECS Disk Metrics using SQL

Elastic Compute Service (ECS) Disks in Alibaba Cloud are block-level storage devices that can be attached to ECS instances. These disks provide persistent block storage capacity and are designed for high performance and low latency. Metrics related to ECS Disks, such as read IOPS, can provide valuable insights into disk performance and usage patterns.

Table Usage Guide

The alicloud_ecs_disk_metric_read_iops_hourly table provides insights into the hourly read IOPS of ECS Disks within Alibaba Cloud Elastic Compute Service. As a system administrator or DevOps engineer, explore disk-specific details through this table, including the read IOPS, which can indicate the performance of the disk and identify potential bottlenecks. Utilize it to monitor and optimize disk performance, ensuring efficient operation of your Alibaba Cloud ECS instances.

Examples

Basic info

Analyze the hourly read operations per second on your Alibaba Cloud ECS Disks to understand their performance trends. This can help identify instances where the disk performance might be impacting your application's efficiency.

select
instance_id,
timestamp,
minimum,
maximum,
average
from
alicloud_ecs_disk_metric_read_iops_hourly
order by
instance_id,
timestamp;
select
instance_id,
timestamp,
minimum,
maximum,
average
from
alicloud_ecs_disk_metric_read_iops_hourly
order by
instance_id,
timestamp;

Intervals where operation exceed 1000 average write iops

Explore which instances have operation intervals exceeding an average of 1000 write IOPS. This is useful for identifying potential areas of high disk usage and for optimizing resource allocation.

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_hourly
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_hourly
where
average > 1000
order by
instance_id,
timestamp;

Schema for alicloud_ecs_disk_metric_read_iops_hourly

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_hourly