Sentry · Schema

Monitor

APMApplication MonitoringBug TrackingDeveloper ToolsError TrackingObservabilityPerformance MonitoringReal-Time Monitoring

Properties

Name Type Description
id string
slug string
name string
type string
config object
status string
dateCreated string
project object
environments array
View JSON Schema on GitHub

JSON Schema

sentry-system-monitor-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Monitor",
  "title": "Monitor",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "config": {
      "type": "object",
      "properties": {
        "schedule_type": {
          "type": "string"
        },
        "schedule": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "integer"
              }
            }
          ]
        },
        "checkin_margin": {
          "type": "integer",
          "nullable": true
        },
        "max_runtime": {
          "type": "integer",
          "nullable": true
        },
        "timezone": {
          "type": "string"
        }
      }
    },
    "status": {
      "type": "string"
    },
    "dateCreated": {
      "type": "string",
      "format": "date-time"
    },
    "project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "environments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "lastCheckIn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nextCheckIn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      }
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "config"
  ]
}