summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-31 23:07:42 -0700
committerStan Hu <stanhu@gmail.com>2019-07-31 23:07:42 -0700
commit9225eb13ca5b4cae1b09b622b26fafd1c45a9e9c (patch)
treef33542c0a769c6c7050910f7d1d4a4bd6623f931
parentce77d137abcc8e21844fdee54620d95d7b626983 (diff)
downloadgitlab-ce-9225eb13ca5b4cae1b09b622b26fafd1c45a9e9c.tar.gz
Add additional paths to clean from backtracesh-backtrace-clean-sidekiq
`Gitlab::Profiler` can also be used to profile Sidekiq jobs. Add some call traces that can be omitted from the backtrace.
-rw-r--r--lib/gitlab/profiler.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab/profiler.rb b/lib/gitlab/profiler.rb
index 615c0ec374c..ec7671f9a8b 100644
--- a/lib/gitlab/profiler.rb
+++ b/lib/gitlab/profiler.rb
@@ -21,6 +21,9 @@ module Gitlab
lib/gitlab/profiler.rb
lib/gitlab/correlation_id.rb
lib/gitlab/webpack/dev_server_middleware.rb
+ lib/gitlab/sidekiq_status/
+ lib/gitlab/sidekiq_logging/
+ lib/gitlab/sidekiq_middleware/
].freeze
# Takes a URL to profile (can be a fully-qualified URL, or an absolute path)