diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-12 15:10:35 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-12 15:10:35 +0300 |
commit | b3d8b995c3a5dddf1b27c00e2420effb62e548b4 (patch) | |
tree | b290aac50059834d5e81947b88b1728a512c3964 /config | |
parent | 734df1bb504aedec6a5668567de808b549a84749 (diff) |
Un-instrument Banzai::ReferenceExtractor
Instrumenting this class together with Gitlab::ReferenceExtractor causes
a StackError for some reason. Since Gitlab::ReferenceExtractor has most
of the interesting code we'll only instrument that class.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/metrics.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config/initializers/metrics.rb b/config/initializers/metrics.rb index 1b445bbbd10..e85ac22f10f 100644 --- a/config/initializers/metrics.rb +++ b/config/initializers/metrics.rb @@ -85,9 +85,6 @@ if Gitlab::Metrics.enabled? config.instrument_instance_methods(const) end - config.instrument_methods(Banzai::ReferenceExtractor) - config.instrument_instance_methods(Banzai::ReferenceExtractor) - config.instrument_methods(Banzai::Renderer) config.instrument_methods(Banzai::Querying) |