Open kunlun122 opened 1 month ago
🧈
I like the idea, adding this makes sense. I currently do not have the time to implement this but a PR for this feature would be great and I can help with reviewing this.
But I am a Java developer ...
Prometheus currently seems don't support dynamic label for metrics. So this is hard to implement now.
Describe the problem Now lua script metric only support one custom attribute named "key", I think custom attribute maybe butter.
What version of redis_exporter are you running? 1.60.0
Running the exporter lua script
Screenshots script metrics
Additional context hope we can custom the redis_script_values attributes
redis_script_values{filename="/opt/server_info.lua", node_info_address="10.42.2.120:6379@16379"} 1