ceph / paddles

RESTful API to store (and report) on Ceph tests
14 stars 26 forks source link

Add percentage to queue_stats command #51

Closed zmc closed 9 years ago

zmc commented 9 years ago

Sample output, before and after:

(virtualenv)14:35:19 zack@zwork.local paddles master ? pecan queue_stats prod.py 7
No handlers could be found for logger "sqlalchemy.engine.base.Engine"
2015-01-29: 2013 scheduled, 1767 completed
2015-01-30: 1934 scheduled, 1843 completed
2015-01-31: 1331 scheduled, 1149 completed
2015-02-01: 1605 scheduled, 1448 completed
2015-02-02:  574 scheduled,  548 completed
2015-02-03: 1493 scheduled, 1368 completed
2015-02-04: 2553 scheduled, 1072 completed
(virtualenv)14:35:25 zack@zwork.local paddles master ? git checkout wip-queue-stats
Switched to branch 'wip-queue-stats'
(virtualenv)14:35:34 zack@zwork.local paddles wip-queue-stats ? pecan queue_stats prod.py 7
No handlers could be found for logger "sqlalchemy.engine.base.Engine"
2015-01-29: 2013 scheduled, 1767 completed (88%)
2015-01-30: 1934 scheduled, 1843 completed (95%)
2015-01-31: 1331 scheduled, 1149 completed (86%)
2015-02-01: 1605 scheduled, 1448 completed (90%)
2015-02-02:  574 scheduled,  548 completed (95%)
2015-02-03: 1493 scheduled, 1368 completed (92%)
2015-02-04: 2553 scheduled, 1072 completed (42%)