Add SQS alarms and widgets
eoinsha opened this issue · comments
Possible alarms to support:
NumberOfMessagesSent
< threshold (average amount of messages produced in the last 5 min under threshold) - optionalNumberOfMessagesSent
> threshold (average amount of messages produced in the last 5 min above threshold) - optionalApproximateAgeOfOldestMessage
> threshold (approximate age of the oldest message in the queue above threshold: messages aren't processed fast enough) - optionalApproximateNumberOfMessagesNotVisible
> threshold (approximate number of messages in flight above threshold) - enabled with default threshold96_000
(80% of the hard limit of120_000
)ApproximateNumberOfMessagesNotVisible
> threshold (FIFO queue) (approximate number of messages in flight above threshold) - enabled with default threshold14_400
(80% of the hard limit of18_000
)ApproximateNumberOfMessagesVisible
> threshold (approximate number of messages waiting in the queue to be processed exceeds threshold. Can be useful to alert if data is going into a dead letter queue, but we will need to have a way to distinguish between regular queues and DLQs) - optional
Source: https://www.bluematador.com/blog/how-to-monitor-amazon-sqs-with-cloudwatch