Periodically query a Postgres DB and emit resuling metrics to Librato