Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation/op-guide: fix failed RPC rate, leader election metrics
This fixes failed RPC rate query, where we do not need subtraction because we already query by the status code. Also adds grpc_method to make it more specific. Most of the time, the failure recovers within 10-second, which is our Prometheus scrap interval, so 'rate' query might not cover that time window, showing as 0s, but still shows up in the graph. Current leader election metrics just displays the counter vector, but if we want to 'Rate Leader Election', it should query with 'rate' function. Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
- Loading branch information