add simple uptime collector

simple collector to get the machine's uptime in minutes. Somehow I figured this would've already existed but apparently not.
Yeah it could. To be honest, since I'm scaling the raw value I like having
the unit there explicitly but it's true it not very consistent with every
other collector.

On Wednesday, June 25, 2014, Rob Smith <notifications@github.com> wrote:

> In src/collectors/uptime/uptime.py:
>
> > @@ -0,0 +1,37 @@
> > +from diamond.collector import Collector
> > +
> > +import os
> > +
> > +procpath = '/proc/uptime'
> > +divisor = 60
> > +metric_name = 'minutes'
>
> Perhaps the node should be called uptime?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/BrightcoveOS/Diamond/pull/655/files#r14167162>.
>