Open wenzizone opened 1 year ago
ExecStart=/usr/local/bin/redis_exporter --web.listen-address=:{{ exporter_port }} --redis.addr=redis://{% if redis_bind_localhost == true %}localhost{% else %}{{ ansible_default_ipv4.address }}{% endif %}:{{ redis_port }}
redis_exporter has a parameter "-check-keys string", this can expose key size metrics.
what i want /usr/local/bin/redis_exporter --web.listen-address=:{{ exporter_port }} --redis.addr=redis://{% if redis_bind_localhost == true %}localhost{% else %}{{ ansible_default_ipv4.address }}{% endif %}:{{ redis_port }} -check-keys key1,key2,key3
so i think we have to add a new part in template.
indeed @wenzizone! i will see if i can do that because of work load, in the mean time you are more than welcome to throw a PR!
cheers.
ExecStart=/usr/local/bin/redis_exporter --web.listen-address=:{{ exporter_port }} --redis.addr=redis://{% if redis_bind_localhost == true %}localhost{% else %}{{ ansible_default_ipv4.address }}{% endif %}:{{ redis_port }}
redis_exporter has a parameter "-check-keys string", this can expose key size metrics.
what i want /usr/local/bin/redis_exporter --web.listen-address=:{{ exporter_port }} --redis.addr=redis://{% if redis_bind_localhost == true %}localhost{% else %}{{ ansible_default_ipv4.address }}{% endif %}:{{ redis_port }} -check-keys key1,key2,key3
so i think we have to add a new part in template.