I've noticed this after creating a new queue and not updating the exporter IAM role.
We had 4 queues:
qa-queue-cpu
qa-queue-gpu
qa-queue-mem
qa-queue-tasks
The exporter was configured with SQS_QUEUE_NAME_PREFIX=qa and was working fine, yesterday we added a new queue qa-queue-split and didn't update the IAM role for the exporter, then I noticed that the qa-queue-tasks metrics are gone, but all the other are working fine.
After updating the IAM role I finally got metrics from all the queues.
It seems to me that queues are being sorted alphabetically, and if the exporter doesn't have access to one of them, it'll stop at that one, this explains why it didn't get metrics from a queue that was working before we added the new one.
I've noticed this after creating a new queue and not updating the exporter IAM role. We had 4 queues:
qa-queue-cpu
qa-queue-gpu
qa-queue-mem
qa-queue-tasks
The exporter was configured with
SQS_QUEUE_NAME_PREFIX=qa
and was working fine, yesterday we added a new queueqa-queue-split
and didn't update the IAM role for the exporter, then I noticed that theqa-queue-tasks
metrics are gone, but all the other are working fine. After updating the IAM role I finally got metrics from all the queues.It seems to me that queues are being sorted alphabetically, and if the exporter doesn't have access to one of them, it'll stop at that one, this explains why it didn't get metrics from a queue that was working before we added the new one.