• Matthias Kaeppler's avatar
    Fix: Sidekiq workers delete each other's metrics · 52edbc6e
    Matthias Kaeppler authored
    When we moved the logic that wipes the Prometheus metrics
    dir out of the Rackup file and into the initializer, all
    Sidekiq workers would call this and potentially enter a
    race condition where they deleted each other's database
    files.
    
    Changelog: fixed
    52edbc6e
7_prometheus_metrics.rb 3.98 KB