Add a sub-command to show the timeline of the workers executions of the tasks.
The sub-command can start a web server that read the .json files of a folder.
Each .json file must contains an events variable that is an array of json event representation.
Each json event must contains the following properties:
worker_id
worker_inst
task_id
status: "success" | "error" | "canceled" # other event type will be ignored
time_start
time_end
label: optional string representation of the event. It may contain the description of the result.
All the properties are mandatory, except the label.
The position and length of the task rectangles will be in proportion to the start-end time of the event.
The color of the task must reflect the status.
Add a sub-command to show the timeline of the workers executions of the tasks.
The sub-command can start a web server that read the .json files of a folder.
Each .json file must contains an
events
variable that is an array of json event representation. Each json event must contains the following properties:All the properties are mandatory, except the label.
Example:
The json data will be display in a browser with in SVG image with the D3js library , like so:
The position and length of the task rectangles will be in proportion to the start-end time of the event. The color of the task must reflect the status.