skroutz / rafka

Kafka proxy with a simple API, speaking the Redis protocol
https://engineering.skroutz.gr/blog/kafka-rails-integration/
GNU General Public License v3.0
8 stars 0 forks source link

Implement stats redis command #44

Closed agis closed 7 years ago

agis commented 7 years ago

This allows users to monitor Rafka for errors that are not propagated to the clients. Until now such errors were just being logged. It allows for simple alerting rules (eg. alert when producer errors are more than 10).

We used the HGETALL Redis command, since the stats structure can be considered a hash with stat names as keys and counters as values.

Part of #28