Commit 0ae2d9e6 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Rename wip to worker_id

parent ad185e62
...@@ -12,11 +12,11 @@ Prometheus::Client.configure do |config| ...@@ -12,11 +12,11 @@ Prometheus::Client.configure do |config|
end end
config.pid_provider = -> do config.pid_provider = -> do
wid = Prometheus::Client::Support::Unicorn.worker_id worker_id = Prometheus::Client::Support::Unicorn.worker_id
if wid.nil? if worker_id.nil?
"process_pid_#{Process.pid}" "process_pid_#{Process.pid}"
else else
"worker_id_#{wid}" "worker_id_#{worker_id}"
end end
end end
end end
......
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