diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-04 12:14:36 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-04 12:14:36 +0100 |
commit | 66a997a91403eef62ffd9fb789e899619d021a26 (patch) | |
tree | f7ca97b6912a3924c8dfcc635427976360824db8 /config | |
parent | 96075be6f4688a59335130dc796132ad4f232442 (diff) | |
download | gitlab-ce-66a997a91403eef62ffd9fb789e899619d021a26.tar.gz |
Track total query/view timings in transactions
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/metrics.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/metrics.rb b/config/initializers/metrics.rb index ebb20be7283..52ace27b7ae 100644 --- a/config/initializers/metrics.rb +++ b/config/initializers/metrics.rb @@ -6,6 +6,7 @@ if Gitlab::Metrics.enabled? # These are manually require'd so the classes are registered properly with # ActiveSupport. require 'gitlab/metrics/subscribers/action_view' + require 'gitlab/metrics/subscribers/active_record' Gitlab::Application.configure do |config| config.middleware.use(Gitlab::Metrics::RackMiddleware) |