summaryrefslogtreecommitdiff
path: root/config/initializers/metrics.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-05-26 17:05:26 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2016-05-26 17:05:26 +0000
commit9bdfc98242f6fa039b73f47e6105faded1027eb1 (patch)
tree32a6f3b1b8ace2f45c33865b4542dcdf78c69268 /config/initializers/metrics.rb
parentd4d0fdb4799d3b1653e9f1a673b4dc6b8c1ac2f8 (diff)
parent5771114f9b5dba9c17b273a5dec0ef6900f6da9d (diff)
downloadgitlab-ce-9bdfc98242f6fa039b73f47e6105faded1027eb1.tar.gz
Merge branch 'measure-proxy-timing' into 'master'
Measure proxy flight time See merge request !4278
Diffstat (limited to 'config/initializers/metrics.rb')
-rw-r--r--config/initializers/metrics.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/metrics.rb b/config/initializers/metrics.rb
index 2338916e9da..0c788714714 100644
--- a/config/initializers/metrics.rb
+++ b/config/initializers/metrics.rb
@@ -12,6 +12,7 @@ if Gitlab::Metrics.enabled?
Gitlab::Application.configure do |config|
config.middleware.use(Gitlab::Metrics::RackMiddleware)
+ config.middleware.use(Gitlab::Middleware::RailsQueueDuration)
end
Sidekiq.configure_server do |config|