| 258 | | == Monitoring == |
| 259 | | |
| 260 | | The easiest way to monitor {{{ippToPsps}}} is via [wiki:Czartool czartool]. Behind the scenes, the {{{ippToPsps}}} program {{{metrics.py}}} is generating the numbers and inserting them into the czar database. It reports processing and loading progress per batch type. It can be run, for example, like this: |
| 261 | | |
| 262 | | {{{ |
| 263 | | ./run.sh metrics.py someConfig |
| 264 | | }}} |
| 265 | | |
| 266 | | And will produce a response similar to this: |
| 267 | | |
| 268 | | {{{ |
| 269 | | ippToPsps loading summary |
| 270 | | |
| 271 | | Time now 2011-09-29 11:54:33 |
| 272 | | Loading epoch 2011-08-16 |
| 273 | | DVO label LAP.ThreePi.20110809 |
| 274 | | |
| 275 | | +----+------------------+---------------+-------------------+------------------+----------------+ |
| 276 | | |Type| batches per hour | last 24 hours | per day this week | total detections | last published | |
| 277 | | +----+------------------+---------------+-------------------+------------------+----------------+ |
| 278 | | | P2 | 0.0 | 283 | 329.4 | 1855730051 | 4.6 hours ago | |
| 279 | | | ST | 0.0 | 12936 | 4539.0 | 185807608 | 3.7 hours ago | |
| 280 | | +----+------------------+---------------+-------------------+------------------+----------------+ |
| 281 | | |
| 282 | | +----+-------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+ |
| 283 | | |Type| DVO | processed|loaded_to_datastore| loaded_to_ODM| merge_worthy| merged| deleted_datastore| deleted_dxlayer| deleted_local| |
| 284 | | | | | Pend Succ Fail | Pend Succ Fail | Pend Succ Fail | Pend Succ Fail | Pend Succ Fail | Pend Succ Fail | Pend Succ Fail | Pend Succ Fail | |
| 285 | | +----+-------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+ |
| 286 | | | P2 | 8140 | 8101 39 | 2 8099 | 2041 6049 9 | 6049 | 313 5736 | 5736 | 5736 | | |
| 287 | | | ST | 32309 | 31684 625 | 5 31679 |24617 7062 | 7062 | 7062 | | | | |
| 288 | | +----+-------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+ |
| 289 | | |
| 290 | | }}} |
| | 258 | |