Fix Gitaly Sidekiq timings in Prometheus
The RequestStoreMiddleware runs 'inside' the ServerMetrics middleware, so by the time ServerMetrics is done with its `yield`, the RequestStore doesn't exist any more. This is exactly the reason why the InstrumentationLogger middleware stores some values in the payload, so use that instead.
Showing
Please register or sign in to comment