ajrbyers / mondroid

Simple monitoring system written in Python/Django using requests.
GNU General Public License v2.0
0 stars 0 forks source link

collapse the individual states on the monitoring detail page #7

Closed lsh-0 closed 9 years ago

lsh-0 commented 9 years ago

as a layman visitor to the website monitoring detail page I would expect to see the data I just saw on the dashboard within the context of the last month at least because the detail page is about drilling down into the data and getting your hands dirty

The simple listing of each check is appealing to me as a dev, but as a dev I know I can go to the database or to the admin page and get lists of individual states like this. There is an opportunity with this page to collapse/aggregate the data being presented into short sharp statements:

DOWN | Dec 3rd,  20:40 | Dec 3rd,  21:00 | 20 minutes 
UP   | Nov 29th, 09:10 | Dec 3rd,  20:35 | 3 days, 10hrs | 301ms latency (avg)
DOWN | Nov 29th, 07:00 | Nov 29th, 09:05 | 2 hours, five minutes
UP   | Jan 1st,  01:00 | Nov 29th, 06:55 | 11 months, twenty-eight days | 319ms latency (avg)
lsh-0 commented 9 years ago

This enhancement might benefit from the magical functional I described in issue https://github.com/ajrbyers/mondroid/issues/4 that chunks Check states into runs of ups or downs.

lsh-0 commented 9 years ago

done. it could do with a bit of a polish, but I'm going to have a think about how best to do that.