Table: alicloud_ecs_disk_metric_read_iops_daily
Alicloud Monitoring metrics provide data about the performance of your systems. The alicloud_ecs_disk_metric_read_iops_daily
table provides metric statistics at 24 hour intervals for the most recent 30 days.
Note: If the instance is not older than one day then we will not get any metric statistics.
Examples
Basic info
Gain insights into daily disk read operations on your Alibaba Cloud ECS instances. This can help you monitor performance trends and identify potential issues related to disk input/output operations.
select instance_id, timestamp, minimum, maximum, averagefrom alicloud_ecs_disk_metric_read_iops_dailyorder by instance_id, timestamp;
select instance_id, timestamp, minimum, maximum, averagefrom alicloud_ecs_disk_metric_read_iops_dailyorder by instance_id, timestamp;
Intervals where operation exceed 1000 average read iops
Explore instances where the daily average read operations per second (IOPS) on an Alibaba Cloud Elastic Compute Service (ECS) disk exceed 1000. This can be useful in identifying periods of high disk usage, which could impact system performance.
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_iops_dailywhere 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_iops_dailywhere average > 1000order by instance_id, timestamp;
Query examples
Schema for alicloud_ecs_disk_metric_read_iops_daily
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_daily