fix. pep8 compliance
mod. pass a start date to rev count query for threshold.
mod. make deault metrics logging more compact.