-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: master
-
Component/s: Pegasus Planner
-
None
The metrics will be pushed out in JSON format to the metrics server.
The planner will honor two environment variables
a) PEGASUS_METRICS
A boolean value ( true | false ) indicating whether metrics reporting is turned ON/OFF
b) PEGASUS_USER_METRICS_SERVER
A comma separated list of URL's to metric servers to report metrics to
This can be set by users to enable reporting to their own servers.
c) PEGASUS_METRICS_SERVER
Can be used to change the default server used to report the metrics to.
In addition, they will be written out to a file in the submit directory.
Sample Output
{
"client": "pegasus-plan",
"version": "4.2.0cvs",
"start_time": "Dec 18, 2012 2:30:32 PM",
"end_time": "Dec 18, 2012 2:30:32 PM",
"duration": 0.62,
"exitcode": 1,
"error": "java.lang.RuntimeException: TransferEngine.java: Can\u0027t determine a location to transfer input file for lfn david.f.a for job preprocess_ID000001\n\tat edu.isi.pegasus.planner.refiner.TransferEngine.getFilesFromRC(TransferEngine.java:1216)\n\tat edu.isi.pegasus.planner.refiner.TransferEngine.processParents(TransferEngine.java:592)\n\tat edu.isi.pegasus.planner.refiner.TransferEngine.addTransferNodes(TransferEngine.java:371)\n\tat edu.isi.pegasus.planner.refiner.MainEngine.runPlanner(MainEngine.java:238)\n\tat edu.isi.pegasus.planner.client.CPlanner.executeCommand(CPlanner.java:612)\n\tat edu.isi.pegasus.planner.client.CPlanner.executeCommand(CPlanner.java:353)\n\tat edu.isi.pegasus.planner.client.CPlanner.main(CPlanner.java:250)\n",
"root.wf.uid": "b6f1053e-508a-47da-b057-bd3e82f5f416",
"wf.uid": "b6f1053e-508a-47da-b057-bd3e82f5f416",
"wf_metrics":
}