• Aleksei Lipniagov's avatar
    Fix pid providing for Prometheus · 22e2917b
    Aleksei Lipniagov authored
    Use relative worker identifier for metrics (instead of Process.pid) and
    identify when Unicorn/Puma/Sidekiq is used.
    Previously, it was assumed that all metrics are gathered from Unicorn
    due to hardcoded implementation which was incorrect.
    22e2917b
pid_provider_spec.rb 2.07 KB