Commit 897273d1 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Couple ProxyTiming to Metrics middleware

parent cee07c59
...@@ -12,6 +12,7 @@ if Gitlab::Metrics.enabled? ...@@ -12,6 +12,7 @@ if Gitlab::Metrics.enabled?
Gitlab::Application.configure do |config| Gitlab::Application.configure do |config|
config.middleware.use(Gitlab::Metrics::RackMiddleware) config.middleware.use(Gitlab::Metrics::RackMiddleware)
config.middleware.use(Gitlab::Middleware::ProxyTiming)
end end
Sidekiq.configure_server do |config| Sidekiq.configure_server do |config|
......
Rails.application.config.middleware.use(Gitlab::Middleware::ProxyTiming)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment