Re: Master wait time metric

2016-11-01 Thread Sam Saffron
Brilliant, this will make it super easy to write a Prometheus exporter, will post here once I am done. On Tue, Nov 1, 2016 at 10:36 AM, Eric Wong wrote: > Sam Saffron wrote: >> Hi Eric / everyone :) >> >> I would like to start graphing how long our master process spends >> waiting for worker pro

Re: Master wait time metric

2016-10-31 Thread Eric Wong
Sam Saffron wrote: > Hi Eric / everyone :) > > I would like to start graphing how long our master process spends > waiting for worker processes to be available. Fwiw, the master doesn't wait for workers to become available for processing requests. But I think I know what you mean to ask :> Rat

Master wait time metric

2016-10-31 Thread Sam Saffron
Hi Eric / everyone :) I would like to start graphing how long our master process spends waiting for worker processes to be available. This metric will allow us to quickly tell if a unicorn is being overloaded and allow us to quickly remediate. Once a minute I want to ask the master process how l