Thanos · Schema

Alert

MetricsMonitoringObservabilityPrometheusTime Series Database

Properties

Name Type Description
labels object
annotations object
state string
activeAt string
value string
View JSON Schema on GitHub

JSON Schema

thanos-alert-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Alert",
  "title": "Alert",
  "type": "object",
  "properties": {
    "labels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "annotations": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "state": {
      "type": "string",
      "enum": [
        "firing",
        "pending"
      ]
    },
    "activeAt": {
      "type": "string",
      "format": "date-time"
    },
    "value": {
      "type": "string"
    }
  }
}