histogram of request times and log slow queries