diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-11-09 15:30:57 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-11-14 19:07:29 +0300 |
commit | 19d6cdfe1b374fce6119a85a6e221d9e354dc0e3 (patch) | |
tree | 09f25ff1c9199bf01c6a5e7e07a8a005ce991280 /lib | |
parent | dd0e4f30b3bf71dfd8561410f9bcc7213d7c6ca0 (diff) |
Merge branch '39958-updatemergerequestsworker-are-failing-on-metric-tagging' into 'master'
Revert "add metrics tagging to the sidekiq middleware"
Closes #39958
See merge request gitlab-org/gitlab-ce!15285
(cherry picked from commit 43d98cd1ff3ea0dd6a794ba4d1d621415d439985)
7fd3ce41 Revert "add metrics tagging to the sidekiq middleware"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/metrics/sidekiq_middleware.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/metrics/sidekiq_middleware.rb b/lib/gitlab/metrics/sidekiq_middleware.rb index 55c707d5386..df4bdf16847 100644 --- a/lib/gitlab/metrics/sidekiq_middleware.rb +++ b/lib/gitlab/metrics/sidekiq_middleware.rb @@ -11,8 +11,6 @@ module Gitlab # Old gitlad-shell messages don't provide enqueued_at/created_at attributes trans.set(:sidekiq_queue_duration, Time.now.to_f - (message['enqueued_at'] || message['created_at'] || 0)) trans.run { yield } - - worker.metrics_tags.each { |tag, value| trans.add_tag(tag, value) } if worker.respond_to?(:metrics_tags) rescue Exception => error # rubocop: disable Lint/RescueException trans.add_event(:sidekiq_exception) |