         (cb) ->
             compute_status (err, s) ->
                 status = s
+                current_status = s
                 cb(err)
         (cb) ->
             client.query

    )

exports.compute_status = compute_status = (cb) ->
    status = {memory:{rss:0}, disk_MB:0}
    async.parallel([
        (cb) ->
            compute_status_disk(status, cb)
        (cb) ->
            #compute_status_memory(status, cb)
            cgroup_memstats(status, cb)
        (cb) ->
            compute_status_tmp(status, cb)
    ], (err) ->

    raw_server.use '/metrics', (req, res) ->
        res.setHeader("Content-Type", "text/plain; version=0.0.4")
        res.setHeader('Cache-Control', 'private, no-cache, must-revalidate')
        res.send(exports.prometheus_metrics())
