Add Incidents data to Services and Deploys

This sample step-by-step configuration is to expand your services data in configure8 with Incidents information.

Create the schema

Logged in with an Admin user, go to the schemas page and "+ Add Schema".

Form JSON Schema

This is where you're defining the fields of your schema. You can customize this data to your organizations needs, by changing, adding or removing fields.

We are adding number fields for Start and Stop timestamps on deployments. We will display those fields as Date/Time as you will see in the next section. You can also change for time strings or other format but need to adjust the rest of the sample accordingly.

{
  "properties": {
    "Description": {
      "type": "string"
    },
    "Start": {
      "type": "number"
    },
    "Stop": {
      "type": "number"
    },
    "Duration": {
      "type": "number"
    }
  }
}

Data Model JSON

This is where you define which and how the table columns will be showed in the Deploys catalog menu.

Full info on how to format columns display here.

[
  {
    "hidden": false,
    "name": "Description",
    "columnName": "Description",
    "calc": "details.Description"
  },
  {
    "hidden": false,
    "name": "Start",
    "columnName": "Start",
    "calc": "details.Start",
    "format": {
      "displayValue": {
        "type": "date",
        "format": "DD MMM YYYY - hh:mm:ss A"
      }
    }
  },
  {
    "hidden": false,
    "name": "Stop",
    "columnName": "Stop",
    "calc": "details.Stop",
    "format": {
      "displayValue": {
        "type": "date",
        "format": "DD MMM YYYY - hh:mm:ss A"
      }
    }
  },
  {
    "hidden": false,
    "name": "Duration",
    "columnName": "Incident Duration(s)",
    "calc": "details.Duration"
  }
]

Relations

Next step is to create relations with the other schemas in 3. Relations -> + Add Relation.

After saving the schema a new menu will be shown in our catalog menu, under the link that is composed with the Schema identifier field. In this case https://app.configure8.io/dnr-deploys .

Pushing data

You can manual insert data in the menu page by + Add New Entity, or push data via configure8 public API. You can find a sample for pushing Deploys and Incidents with the relation binding here.

DORA Metrics

With the Deploys and Incidents schema data and right relations with Services we can enable calculation of Dora Metrics natively in configure8.

Check full docs on the Deploys DF sample here.

Last updated

Copyright © 2023 configure8, Inc. All rights reserved.