elasticmq icon indicating copy to clipboard operation
elasticmq copied to clipboard

Lack of healthcheck

Open bitkill opened this issue 3 years ago • 2 comments

Hi,

I'm looking for a way to probe the health and readiness of elasticmq in the Docker container? What's the best way to do this?

bitkill avatar Dec 19 '22 02:12 bitkill

We don't have a dedicated health/status endpoint (we should add one, good point :) ), but maybe listing queues could be a good replacement while this is not available: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ListQueues.html

adamw avatar Dec 20 '22 20:12 adamw

To add a specific example for use with docker compose's healthcheck (as it needs to be a command that executes within the container):

wget -q -S -O - 127.0.0.1:9324/?Action=ListQueues

chesleybrown avatar Jun 08 '23 12:06 chesleybrown