Module: Prometheus::Client::Support::Puma
Instance Method Summary collapse
Instance Method Details
#worker_pid_provider ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/prometheus/client/support/puma.rb', line 7 def worker_pid_provider wid = worker_id if wid = worker_id wid else "process_id_#{Process.pid}" end end |