Commit 4c1a41a6 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Merge branch 'dont-clean-sidekiq-processes-in-metrics' into 'master'

Don't clean Sidekiq processes when fetching metrics

See merge request gitlab-org/gitlab!42463
parents bfc3f294 5687c8af
...@@ -17,7 +17,7 @@ module API ...@@ -17,7 +17,7 @@ module API
end end
def process_metrics def process_metrics
Sidekiq::ProcessSet.new.map do |process| Sidekiq::ProcessSet.new(false).map do |process|
{ {
hostname: process['hostname'], hostname: process['hostname'],
pid: process['pid'], pid: process['pid'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment