Auto-generated
This page is generated by terraform-docs at build time from the infra/ repo. Do not edit manually.
Monitoring — SQS Queue¶
CloudWatch alarms for an SQS queue: - ApproximateAgeOfOldestMessage — consumer is keeping up? - ApproximateNumberOfMessagesVisible — backlog buildup?
Requirements¶
No requirements.
Providers¶
| Name | Version |
|---|---|
| aws | n/a |
Modules¶
No modules.
Resources¶
| Name | Type |
|---|---|
| aws_cloudwatch_metric_alarm.age_of_oldest | resource |
| aws_cloudwatch_metric_alarm.messages_visible | resource |
Inputs¶
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| age_threshold_seconds | Trigger when ApproximateAgeOfOldestMessage exceeds this many seconds. Default 30 min. | number |
1800 |
no |
| alarm_actions | List of ARNs to notify on alarm transitions. Typically the PagerDuty SNS topic ARN. | list(string) |
n/a | yes |
| base_tags | Base tags applied to all alarms. | map(string) |
{} |
no |
| evaluation_periods | Consecutive periods that must breach for the alarm to fire. | number |
3 |
no |
| period | Period in seconds for each evaluation. | number |
300 |
no |
| queue_name | Name of the SQS queue (the QueueName CloudWatch dimension). | string |
n/a | yes |
| visible_threshold | Trigger when ApproximateNumberOfMessagesVisible exceeds this count. Tune to expected queue volume. | number |
50000 |
no |
Outputs¶
No outputs.