app-workflow_engine Schemas

On this page:

metricsDefault

{ "definitions": {}, "$schema": "http://json-schema.org/draft-07/schema#", "$id": "metricsDefault", "type": "object", "title": "Default metrics schema", "properties": { "owner": { "$id": "#/properties/metrics/properties/owner", "type": [ "object", "string" ], "examples": [ "Pronghorn", "5a3496c64da02d9dfa0b2f91" ], "title": "The owner of the task/job/workflow metric" }, "start_time": { "$id": "#/properties/metrics/properties/start_time", "type": "number", "title": "Task start time", "description": "When the task started, in milliseconds since the UNIX epoh", "examples": [ 1555430149763 ] }, "end_time": { "$id": "#/properties/metrics/properties/end_time", "type": "number", "title": "Task end time", "description": "When the task ended, in milliseconds since the UNIX epoh", "examples": [ 1555430169683 ] }, "run_time": { "$id": "#/properties/metrics/properties/run_time", "type": "number", "title": "Task run time", "description": "How long, in milliseconds, the task took to run", "examples": [ 75069184 ] }, "finish_state": { "$id": "#/properties/metrics/properties/finish_state", "type": "string", "enum": [ "success", "failure", "error" ], "title": "Finish state for the task", "description": "What the status of the task was when it finished (error, completed, etc)" }, "claim_time": { "$id": "#/properties/metrics/properties/claim_time", "type": "integer", "title": "Task claim time", "description": "When the task was last claimed, in milliseconds since the UNIX epoh", "examples": [ 75069184 ] }, "server_id": { "$id": "#/properties/metrics/properties/server_id", "type": "string", "title": "The id of the server the task ran on ", "description": "Identified the specific server the task ran/is running on", "examples": [ "ac:de:48:00:11:22:3000" ] }, "app": { "$id": "#/properties/metrics/properties/app", "type": "object", "title": "The application tied to the task", "description": "Details on the application that's tied to the task", "required": [ "id" ], "properties": { "id": { "$id": "#/properties/metrics/properties/app/properties/id", "type": "string", "title": "Id of the app", "examples": [ "WorkFlowEngine", "MOP", "WorkflowBuilder" ] }, "version": { "$id": "#/properties/metrics/properties/app/properties/version", "type": "string", "title": "Version of the app", "examples": [ "1.2.3", "3.2.1" ] } } } } }