redis-healthy icon indicating copy to clipboard operation
redis-healthy copied to clipboard

Can this be made to work as a telegraf plugin as well?

Open SEJeff opened this issue 8 years ago • 3 comments

This would be useful for users of both redis and influxdb

SEJeff avatar Nov 29 '16 15:11 SEJeff

Thanks @SEJeff for the suggestion, I'll leave it open as a future feature. Since it sends to Logstash you can use a plugin to do that but this will put another node too.

leandromoreira avatar Nov 29 '16 16:11 leandromoreira

Appreciate it! There is a redis telegraf plugin but I'm not sure if it works with sentinel. If not, perhaps there is value add for redis-healthy, or you can use some of that code to improve this. Either way, OSS ftw!

SEJeff avatar Nov 29 '16 16:11 SEJeff

I'd suggest to:

  • Provide a new Sender.
  • Provide a way to create different types of sender METRIC_TARGET=logstash|graphite|telegraf
  • Generify the configuration to support metric_host and metric_port instead of logstash
  • And maybe extract all this to different files

leandromoreira avatar Nov 30 '16 21:11 leandromoreira