Closed linkypi closed 1 year ago
From https://github.com/oliver006/redis_exporter#prometheus-configuration-to-scrape-multiple-redis-hosts
Run the exporter with the command line flag --redis.addr= so it won't try to access the local instance every time the /metrics endpoint is scraped.
Describe the problem I don't know why redis exporter show this log, especially the localhost:6379,I have not config this host. I config the multiple redis hosts with redis_passwd.json with k8s config map.
my k8s resource file:
What version of redis_exporter are you running? Please run
redis_exporter --version
if you're not sure what version you're running.redis-exporter version is v1.51.0. image : oliver006/redis_exporter:latest
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.password-file=/opt/redis_passwd.json
Expected behavior What metrics are missing? What metrics are wrong? Is something missing that was present in an earlier version? Did you upgrade from 0.3x.x to 1.0 and are scraping multiple hosts? Have a look here how the configuration changed.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.