Skip to content

mpl-report

Report the pipeline execution

Aliases

  • mpl-report
  • mpl_report
  • report

Synopsis

| mpl-report <pipeline> [frequency]

Schema

{
  "properties": {
    "pipeline": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Pipeline name"
        },
        "state": {
          "type": "string",
          "description": "Pipeline state as running|ending"
        },
        "errors": {
          "type": "object",
          "properties": {
            "count": {
              "type": "number",
              "description": "Number of disctinct errors"
            },
            "list": {
              "type": "object",
              "desription": "Distinct errors named as offest:line:column:command",
              "additionalProperties": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "number",
                    "description": "Number of error occurence"
                  },
                  "message": {
                    "type": "string",
                    "description": "Error message"
                  }
                }
              }
            }
          }
        }
      }
    },
    "report": {
      "type": "object",
      "properties": {
        "frequency": {
          "type": "number",
          "description": "Reporting frequency"
        }
      }
    }
  }
}

Description

Examples