A riemann-sumd monitor for long running MongoDB queries