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

how to config multi-target exporter in k8s prometheus servicemonitor? #848

Closed binweee closed 7 months ago

binweee commented 8 months ago

I use the version 1.55.0. k8s version 1.21.8 I dont know how to config redis cluster with redis exporter in servicemonitor. servicemonitor cant config like this static_configs:

oliver006 commented 7 months ago

https://github.com/oliver006/redis_exporter#prometheus-configuration-to-scrape-multiple-redis-hosts