Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporter not getting all queues if denied access to one #12

Open
azelezni opened this issue Jan 22, 2020 · 0 comments
Open

Exporter not getting all queues if denied access to one #12

azelezni opened this issue Jan 22, 2020 · 0 comments
Labels

Comments

@azelezni
Copy link

azelezni commented Jan 22, 2020

I've noticed this after creating a new queue and not updating the exporter IAM role.
We had 4 queues:

  1. qa-queue-cpu
  2. qa-queue-gpu
  3. qa-queue-mem
  4. 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.

@jmal98 jmal98 added the bug label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants