Simple exporter for rabbitmq data.
It exports length of the selected rabbitmq queues to AWS cloudwatch. It can be useful for AWS autoscaling.
Exporter is configurable via config.json
file. example_config.json
shows how it should be configured.
- first create your own config.json file,
- then install requirements:
$ pip install -r requirements.txt
- make sure that you have exported environment variables authorizing you to AWS (boto requirement).
$ ./main.py
Exporter will start exporting data to cloudwatch every 30 seconds.