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:
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.
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:As a workaround, we added the
SQS_QUEUE_NAMES
ENV var to our sqs-exporterdeployment
Manifest to whitelist the queues we want metrics for: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.