• Matthias Käppler's avatar
    More fine-grained metrics for sidekiq workers · 73b14405
    Matthias Käppler authored
    We currently only measure the global (node-level) business in terms
    of jobs being processed. We would instead like to be able to know
    for each sidekiq process how saturated it is in terms of actual
    concurrency vs requested/max concurrency.
    
    This patch does the following:
    
    - add a worker/process dimension to all existing metrics
    - introduce a new metric to observe concurrency per process
    
    by relating "actual job count per process" to "max job count per
    process" we can then obtain some sort of saturation metric.
    73b14405
pid_provider.rb 1.06 KB