Clean up Gitaly N+1 stack traces

We don't need to know the details of every library involved in these calls; they
will always originate in the GitLab app itself.
This commit is contained in:
Sean McGivern 2018-07-04 16:11:47 +01:00
parent 0482e706df
commit b9b0fc8db1
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ module Gitlab
def self.count_stack
return unless RequestStore.active?
stack_string = caller.drop(1).join("\n")
stack_string = Gitlab::Profiler.clean_backtrace(caller).drop(1).join("\n")
RequestStore.store[:stack_counter] ||= Hash.new