oliver006 / redis_exporter

Prometheus Exporter for ValKey & Redis Metrics. Supports ValKey and Redis 2.x, 3.x, 4.x, 5.x, 6.x, and 7.x
https://github.com/oliver006/redis_exporter
MIT License
3.03k stars 859 forks source link

Exit Code: 2, Exit Message: "Docker container exited with non-zero exit code: 2" #868

Closed wanghaowei0107 closed 5 months ago

wanghaowei0107 commented 6 months ago

Describe the problem

Exit Code: 2, Exit Message: "Docker container exited with non-zero exit code: 2"

What version of redis_exporter are you running? Please run redis_exporter --version if you're not sure what version you're running. [x ] 1.x.x

Running the exporter What's the full command you're using to run the exporter? (please remove passwords and other sensitive data) redis_exporter --redis.addr=127.0.0.1:6379

Expected behavior When redis exporter graceful shutdown, the exit code will be 0.

oliver006 commented 5 months ago

Fixed by #867 - thanks for your PR!