Posts Redis queue lengths to an InfluxDB instance
384
Simple Docker image to post the length of Redis queues in 10s intervals to an InfluxDB instance. Automated builds of this image are available on the Docker Hub as neurology/redis-queue-lengths.
The script reads four environment variables, REDIS_URL, INFLUXDB_HOST, INFLUXDB_PORT, INFLUXDB_DATABASE, and QUEUES. QUEUES can be a comma-separated list of Redis queue names.
docker run \
-e REDIS_URL="redis://localhost" \
-e INFLUXDB_HOST="localhost" \
-e INFLUXDB_PORT="8086" \
-e INFLUXDB_DATABASE="queue-lengths" \
-e QUEUES="jobs, ids, telephone_numbers" \
neurology/redis-queue-lengths
Content type
Image
Digest
Size
33.2 MB
Last updated
almost 9 years ago
docker pull neurology/redis-queue-lengths