BigW Consortium Gitlab

Commit d11a2dd8 by Yorick Peterse Committed by James Edwards-Jones

Merge branch 'instrument-ability' into 'master'

Instrument Ability See merge request !12865
parent 3e48796d
......@@ -174,6 +174,10 @@ if Gitlab::Metrics.enabled?
loc && loc[0].start_with?(models) && method.source =~ regex
end
end
# Ability is in app/models, is not an ActiveRecord model, but should still
# be instrumented.
Gitlab::Metrics::Instrumentation.instrument_methods(Ability)
end
Gitlab::Metrics::Instrumentation.configure do |config|
......
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