Containerized version of sidekiq-prometheus-exporter. Thanks @Stretch for providing this amazing gem.
- Tries to connect on
redis:6379
- Exposes rack server on port
9292
- GET '/metrics' endpoint to serve the prometheus file
- [Optional] accepts custom redis url by setting the env
REDIS_URL
- [Optional] accepts custom redis namespace by setting the env
REDIS_NAMEPSACE
docker pull redis # if you don't have redis already running
docker run --name some-redis -d redis # if you don't have redis already running
docker pull alexand/sidekiq-prometheus-exporter
docker run -it --rm --link some-redis:redis -p 9292:9292 alexand/sidekiq-prometheus-exporter
curl localhost:9292/metrics
Please see LICENSE for licensing details.