Sign inSign up

neurology/redis-queue-lengths

By neurology

•Updated almost 9 years ago

Posts Redis queue lengths to an InfluxDB instance

Image
0

384

neurology/redis-queue-lengths repository overview

⁠redis-queue-lengths

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⁠.

⁠Configuration

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.

⁠Example

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

Tag summary

Content type

Image

Digest

Size

33.2 MB

Last updated

almost 9 years ago

docker pull neurology/redis-queue-lengths