• 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
7_prometheus_metrics.rb 2.45 KB