ilert · Schema

MetricPost

Incident ManagementOn-Call AlertingAlert RoutingEscalation PoliciesOn-Call SchedulesStatus PagesHeartbeat MonitoringEvent ManagementDevOpsSREIT Operations

Properties

Name Type Description
name string
description string
aggregationType object
displayType object
interpolateGaps boolean
lockYAxisMax number
lockYAxisMin number
mouseOverDecimal number
showValuesOnMouseOver boolean
teams array
unitLabel string
metadata object
dataSource object
View JSON Schema on GitHub

JSON Schema

metricpost.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.ilert.com/schemas/MetricPost",
  "title": "MetricPost",
  "required": [
    "aggregationType",
    "displayType",
    "name"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "aggregationType": {
      "$ref": "#/components/schemas/MetricAggregationType"
    },
    "displayType": {
      "$ref": "#/components/schemas/MetricDisplayType"
    },
    "interpolateGaps": {
      "type": "boolean",
      "default": false
    },
    "lockYAxisMax": {
      "type": "number",
      "format": "double"
    },
    "lockYAxisMin": {
      "type": "number",
      "format": "double"
    },
    "mouseOverDecimal": {
      "maximum": 6,
      "minimum": 0,
      "type": "number",
      "format": "int32"
    },
    "showValuesOnMouseOver": {
      "type": "boolean",
      "default": false
    },
    "teams": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TeamRel"
      }
    },
    "unitLabel": {
      "type": "string"
    },
    "metadata": {
      "$ref": "#/components/schemas/MetricMetadata"
    },
    "dataSource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number",
          "description": "dataSource is required when providing metadata"
        }
      }
    }
  }
}