DataDog/dd-agent — pull request #619 by clutchski (2013-08-17 16:33:22+00:00)
Title: Gunicorn Worker State

This pull request attempts to track the number of idle + active gunicorn worker processes. Unfortuatnely gunicorn doens't expose a stats API, so the cpu time trick below is used. I did some research and the munin & collectd checks use the same trick.