We have sluggish delivery times in a data pipeline that includes a SQS queue. So I want to know how much time the messages spend in the SQS bit.
CloudWatch only gives me not so useful gauges:
ApproximateNumberOfMessagesNotVisible
ApproximateNumberOfMessagesVisible
NumberOfEmptyReceives
NumberOfMessagesDeleted
NumberOfMessagesReceived
NumberOfMessagesSent
SentMessageSize
Currently there's no congestion, the queue is 99.99% of the time empty, but it's not a guarantee that each message spends a small time in the queue.
Is there any advanced metrics option or any external tool or Scala/Java library to measure Tconsume-Tproduce
of each message ID?