• Sean McGivern's avatar
    Fix Gitaly Sidekiq timings in Prometheus · bcc3faf8
    Sean McGivern authored
    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.
    bcc3faf8
server_metrics_spec.rb 8.94 KB