jmal98 / sqs-exporter

A Prometheus Exporter for the Amazon Simple Queue Service (SQS)
Apache License 2.0
26 stars 28 forks source link

Add ability to filter queues by name prefix #6

Closed GrahamCook closed 6 years ago

GrahamCook commented 6 years ago

Needed this for my use case. Hopefully this will be useful for someone.

jmal98 commented 6 years ago

Thank you for your contribution.

This change removes the condition where it provides information for all queues. Would you mind updating the PR to restore that condition please?

GrahamCook commented 6 years ago

Hi Jamal. If null is passed to sqs.listQueues(), it returns the full list of queues. I added some more comments to make that more clear.

jmal98 commented 6 years ago

Understood.

Thanks