I have a AWS DLQ linked to an AWS SQS. Such DLQ has a consumer so any message landing in the DLQ is immediately consumed and stored in a DynamoDB table.
I'd like to implement an alert that is triggered every time a message lands in the DLQ. I wanted to implement this using NewRelic but turns out this is not feasible as the minimum sampling time of NR is 60secs: as the message of the DLQ is consumed immediately, the query is not able to register the occurrence.
Has anyone had the same problem? If yes, how did you solve it?
I was also thinking at a Cloudwatch alert, but I don't find a metric for this use case.