Skip to content
Snippets Groups Projects
Commit a5b8d4bc authored by Sean McGivern's avatar Sean McGivern
Browse files

Instrument Ability

parent 1afdbe32
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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|
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment