| 304 | |
| 305 | |
| 306 | == 6. Integrate Custom Metric of Experiment with !OnTimeMeasure == |
| 307 | |
| 308 | [attachment:OnTimeControl-add_metric.xml OnTimeControl-add_metric.xml] integrate custom metric of experiment with !OnTimeMeasure. |
| 309 | |
| 310 | You should prepare a metric specification file (Specs.yaml) and a parser file (Parser.pm). |
| 311 | |
| 312 | A sample can be downloaded from http://ontime.oar.net/INSTALL/metric/CPU.tgz |
| 313 | |
| 314 | {{{ |
| 315 | [berryman@gushcontroller gush]$ ./gush -P 15888 |
| 316 | gush> connect pl2.ucs.indiana.edu:15888 |
| 317 | Connecting to host ohiostate_OTMGUSH@pl2.ucs.indiana.edu:15888. |
| 318 | ohiostate_OTMGUSH@pl2.ucs.indiana.edu:15888 has joined the mesh. |
| 319 | |
| 320 | gush> load OnTimeControl-add_metric.xml |
| 321 | Project "OnTimeControl" is selected. |
| 322 | Experiment "OnTimeControl-add-metric" is selected. |
| 323 | |
| 324 | gush> run |
| 325 | }}} |