Skip to content

Update Praefect RPC error rate panel

Paul Okstad (ex-GitLab) requested to merge pokstad-praefect-rpc-error-rate into master

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.

Screen_Shot_2020-05-22_at_6.56.50_PM

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)

Merge request reports