Skip to content

Follow-up from "WIP: Wrap rugged calls with access disk block"

The following discussion from !30592 (merged) should be addressed:

We need to instrument rugged calls. eg: total duration, and total number of calls. We can do this in the wrap_rugged_call method.

  • @stanhu started a discussion:

    Note we don't have to expose this to Peek right at the moment. We can probably worry about that later. Really the main things we care about:

    • total duration
    • number of calls

    In Gitaly, those are tracked in GitalyClient:

    • self.query_time += duration
    • increment_call_count