oliver006/redis_exporter

Monitoring multiple instances with errors

Cairry opened this issue · 0 comments

Describe the problem
After configuring multiple Redis instances and starting them, the prompt level=info msg="Loaded 1 entries from /cfg/redis_passwd.json" appears, but the collected instance is still localhost.

What version of redis_exporter are you running?
latest

Running the exporter

  • "-redis.password-file=/cfg/redis_passwd.json"

apiVersion: v1
kind: ConfigMap
metadata:
name: redis-exporter
namespace: kube-monitoring
data:
redis_passwd.json: |
{
"redis://redis-ztest.infra:6379":"aaaaa"
}

Screenshots
image