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

Does sqs-exporter support FIFO sqs queues? #10

Open
tomfotherby opened this issue Aug 22, 2019 · 0 comments
Open

Does sqs-exporter support FIFO sqs queues? #10

tomfotherby opened this issue Aug 22, 2019 · 0 comments

Comments

@tomfotherby
Copy link

tomfotherby commented Aug 22, 2019

Today we added our first FIFO sqs queue and we noticed our sqs-exporter stopped working. Apon checking the Prometheus targets (http://127.0.0.1:9090/targets) I could see the sqs-exporter servicemonitor was showing as down with the error message:

invalid metric type "fifo_sqs_approximatenumberofmessagesdelayed gauge"

As a workaround, we added the SQS_QUEUE_NAMES ENV var to our sqs-exporter deployment Manifest to whitelist the queues we want metrics for:

spec:
  containers:
  - name: sqs-exporter
  ...
  env:
  - name: SQS_QUEUE_NAMES
    value: "redacted_queue_name1,redacted_queue_name2,redacted_queue_name3"

This way, our new FIFO queue is ignored.


It is my understanding that FIFO queues seem to have to have a name the ends in .fifo (source). Maybe the . character in the queue name is causing a issue?


Please close this issue if I'm misunderstanding something - which is very possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants