Update Praefect RPC error rate panel
Part of gitaly#2791 (closed)
This change adds more context to our RPC error rate so that we know what portion of total requests are errors. Specific changes:
- The successful RPC's are colored green, while errors are colored red.
- The scale is now log-base-10 so that relatively small quantities of errors are visible.
- Stacked graph (grouped by GPRC method) is used to allow quick inspection of troublesome RPCs.
Queries used:
sum by (grpc_method)(rate(grpc_server_handled_total{job="praefect",grpc_code!="OK"}[5m]))
sum by (grpc_method)(rate(grpc_server_handled_total{job="praefect",grpc_code="OK"}[5m]))
Edited by Paul Okstad (ex-GitLab)