{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-dev-prometheus-type-alert",
  "title": "Prometheus Alert",
  "section": "Library asset reference",
  "description": "Reusable Prometheus Alert contract.",
  "kind": "type",
  "url": "/wiki/reference-dev-prometheus-type-alert/",
  "markdown": "/wiki/reference-dev-prometheus-type-alert/index.md",
  "json": "/wiki/reference-dev-prometheus-type-alert/index.json",
  "headings": [
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "prometheus",
  "pack": "pack_prometheus",
  "contract": {
    "key": "dev.prometheus.type.alert",
    "slug": "dev-prometheus-type-alert",
    "name": "Prometheus Alert",
    "kind": "type",
    "family": "prometheus",
    "packId": "pack_prometheus",
    "category": "Developer integrations",
    "description": "Reusable Prometheus Alert contract.",
    "inputs": [],
    "outputs": [],
    "configSchema": {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    },
    "documentation": "Prometheus Alert preserves known provider fields and explicit JSON extensions. It is shared across the Prometheus operations that use this resource. Optional absence and explicit null are distinct.\n\nSchema:\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"labels\": {\n      \"type\": \"object\",\n      \"additionalProperties\": {\n        \"type\": \"string\"\n      }\n    },\n    \"annotations\": {\n      \"type\": \"object\",\n      \"additionalProperties\": {\n        \"type\": \"string\"\n      }\n    },\n    \"state\": {\n      \"type\": \"string\"\n    },\n    \"activeAt\": {\n      \"type\": \"string\"\n    },\n    \"value\": {\n      \"type\": \"string\"\n    }\n  },\n  \"additionalProperties\": {\n    \"$ref\": \"#/definitions/ONFJsonValue\"\n  },\n  \"definitions\": {\n    \"ONFJsonValue\": {\n      \"anyOf\": [\n        {\n          \"type\": \"null\"\n        },\n        {\n          \"type\": \"string\"\n        },\n        {\n          \"type\": \"number\"\n        },\n        {\n          \"type\": \"boolean\"\n        },\n        {\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        },\n        {\n          \"type\": \"object\",\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      ]\n    }\n  }\n}\n```\n\nSource: https://prometheus.io/docs/prometheus/latest/querying/api/\n\nPure type; no credentials or external effects.",
    "schema": {
      "type": "object",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "annotations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "state": {
          "type": "string"
        },
        "activeAt": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "additionalProperties": {
        "$ref": "#/definitions/ONFJsonValue"
      },
      "definitions": {
        "ONFJsonValue": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          ]
        }
      }
    },
    "runtime": "javascript",
    "tags": [
      "developer-packs",
      "prometheus",
      "type"
    ],
    "source": "developer-catalog"
  }
}
