Feature request: runtime statistics
Biboumi should be able to export runtime activity metrics to the outside world, so that admins do not have to check the logs (which can get hundreds of new messages per second if the service is a bit used) to discover stuff.
This would help service admins in order to:
- Check the usage of the service (number of connected users/servers, etc)
- Discover abuse (high outgoing or incoming throughput for a single connection, etc)
- Find out about technical issues (such as impromptu restarts, network partitions, or stuff like that)
- Make cute graphs
My preferred backend for metrics is prometheus and it’s quite simple to export stuff (series of lines on an http endpoint) but a munin node or other stuff would be fine too.