Difference between revisions of "DiskQueueDepth"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | resource "aws_cloudwatch_metric_alarm" "db_disk_queue_depth_too_high" { | ||
+ | alarm_name = format("%s-%s", lower("${var.rds_name}"), "db-highDiskQueueDepth") | ||
+ | comparison_operator = "GreaterThanThreshold" | ||
+ | evaluation_periods = "2" | ||
+ | metric_name = "DiskQueueDepth" | ||
+ | namespace = "AWS/RDS" | ||
+ | period = "120" | ||
+ | statistic = "Average" | ||
+ | threshold = "10" | ||
+ | alarm_description = "Average database disk queue depth is too high, performance may be negatively impacted." | ||
+ | |||
+ | dimensions = { | ||
+ | DBInstanceIdentifier = aws_db_instance.rds_instance.id | ||
+ | } | ||
+ | } | ||
+ | == Related == | ||
+ | * [[Making better decisions about Amazon RDS with Amazon CloudWatch metrics]] | ||
− | + | == See also == | |
* {{aws_cloudwatch_metric_alarm}} | * {{aws_cloudwatch_metric_alarm}} | ||
* {{IOPs}} | * {{IOPs}} |
Latest revision as of 09:38, 4 May 2023
resource "aws_cloudwatch_metric_alarm" "db_disk_queue_depth_too_high" { alarm_name = format("%s-%s", lower("${var.rds_name}"), "db-highDiskQueueDepth") comparison_operator = "GreaterThanThreshold" evaluation_periods = "2" metric_name = "DiskQueueDepth" namespace = "AWS/RDS" period = "120" statistic = "Average" threshold = "10" alarm_description = "Average database disk queue depth is too high, performance may be negatively impacted." dimensions = { DBInstanceIdentifier = aws_db_instance.rds_instance.id } }
Related[edit]
See also[edit]
Advertising: