lamby/django-dumpslow — pull request #1 by gorillamania (2011-10-26 22:58:33+00:00)
Title: added README, 3rd count option, and want to add email notification  

Hi,

First - thanks. This looks great. I've made a couple of minor improvements.

1) I added a README to the root of the git repo so that github wouldn't complain. :)

2) I added a 3rd order to the management command called average that will output Average time. Output looks like:

Secondly, I originally went looking for something that would send our group an e-mail if a page took longer than X seconds. I'm thinking of adding that functionality.

I would add it to the LogLongRequestMiddleware.process_response, if the time taken was greater than xxx it would email settings.ADMINS

Your thoughts?

-Nick