diff options
author | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-08-12 13:16:25 +0300 |
---|---|---|
committer | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-08-12 13:52:15 +0300 |
commit | 35fb27db277be62dde1f5c58709fd6af59c144a9 (patch) | |
tree | f6a6974403d20b5460d6d8dd65f3707d67dc3346 /lib | |
parent | c90effd84a2ed93c356b25f80b708f4df33472b0 (diff) |
Remove worker label from puma terminations metric
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/cluster/puma_worker_killer_observer.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/cluster/puma_worker_killer_observer.rb b/lib/gitlab/cluster/puma_worker_killer_observer.rb index 3b4ebc3fbae..f53051c32ff 100644 --- a/lib/gitlab/cluster/puma_worker_killer_observer.rb +++ b/lib/gitlab/cluster/puma_worker_killer_observer.rb @@ -15,9 +15,7 @@ module Gitlab private def log_termination(worker) - labels = { worker: "worker_#{worker.index}" } - - @counter.increment(labels) + @counter.increment end end end |