diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/metrics.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/metrics.rb b/config/initializers/metrics.rb index e0702e06cc9..2dcaaa09242 100644 --- a/config/initializers/metrics.rb +++ b/config/initializers/metrics.rb @@ -147,8 +147,8 @@ if Gitlab::Metrics.enabled? ActiveRecord::Querying.public_instance_methods(false).map(&:to_s) ) - Gitlab::Metrics::Instrumentation. - instrument_class_hierarchy(ActiveRecord::Base) do |klass, method| + Gitlab::Metrics::Instrumentation + .instrument_class_hierarchy(ActiveRecord::Base) do |klass, method| # Instrumenting the ApplicationSetting class can lead to an infinite # loop. Since the data is cached any way we don't really need to # instrument it. |