RaftKeeper
RaftKeeper copied to clipboard
Add more metrics to `mntr` command
Description
Right now the only way to introspect RaftKeeper is 4lw command which is based on Zookeeper 3.5. We fould the metrics is too simple to known what is the internal happening.
So we should better enhance the monitoring system. The basic ieade is to enhance 4lw command but not add promethus system, because it is a more simple way and will not introduce stuff for users.
The following are some metrics we need:
- detailed command statistic: read/write, create/delete/get/multi-write
- detailed multi-command statistic
- append entries batch size
- forwarding batch size
- more accurate RT time