https://github.com/oliver006/redis_exporter
nohup ./redis_exporter -redis.addr 192.168.10.136:6379 --redis.password=1ZdqlgWBfw --web.listen-address=:9121 &
nohup ./redis_exporter -redis.addr 192.168.10.229:6379 --redis.password=pMnr3glckd7iu2pF --web.listen-address=:9122 &
- job_name: 'redis1'
static_configs:
- targets: ['localhost:9121']
labels:
instance: s2b2c-redis-136
- job_name: 'redis2'
static_configs:
- targets: ['localhost:9122']
labels:
instance: shouye-redis-229