Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 05 / prometheus32 alert pending firing keep firing for state

Replay complete alert evaluations through for/pending/firing/keep-firing-for and inactive removal.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/prometheus32-alert-pending-firing-keep-firing-for-state

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "promAlert"
      ],
      "properties": {
        "promAlert": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "alert_name",
                "evaluations",
                "for_ms",
                "keep_firing_for_ms",
                "rule_labels"
              ],
              "properties": {
                "alert_name": {
                  "type": "string",
                  "maxLength": 20000
                },
                "evaluations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "active_labels",
                      "time_ms"
                    ],
                    "properties": {
                      "active_labels": {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "__name__",
                                "instance"
                              ],
                              "properties": {
                                "__name__": {
                                  "type": "string",
                                  "maxLength": 20000
                                },
                                "instance": {
                                  "type": "string",
                                  "maxLength": 20000
                                }
                              }
                            },
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "x"
                              ],
                              "properties": {
                                "x": {
                                  "type": "string",
                                  "maxLength": 20000
                                }
                              }
                            }
                          ]
                        },
                        "maxItems": 512
                      },
                      "time_ms": {
                        "type": "number"
                      }
                    }
                  },
                  "maxItems": 512
                },
                "for_ms": {
                  "type": "number"
                },
                "keep_firing_for_ms": {
                  "type": "number"
                },
                "rule_labels": {
                  "$ref": "#/properties/artifact/%24defs/s_4dbca1a6673f"
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "evaluations"
                  ],
                  "properties": {
                    "evaluations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "alerts",
                          "time_ms"
                        ],
                        "properties": {
                          "alerts": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "active_at_ms",
                                "keep_firing_since_ms",
                                "labels",
                                "state"
                              ],
                              "properties": {
                                "active_at_ms": {
                                  "type": "number"
                                },
                                "keep_firing_since_ms": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                },
                                "labels": {
                                  "$ref": "#/properties/artifact/%24defs/s_4dbca1a6673f"
                                },
                                "state": {
                                  "type": "string",
                                  "maxLength": 20000
                                }
                              }
                            },
                            "maxItems": 512
                          },
                          "time_ms": {
                            "type": "number"
                          }
                        }
                      },
                      "maxItems": 512
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "s_4dbca1a6673f": {
          "type": "object",
          "maxProperties": 32,
          "additionalProperties": {
            "type": "string",
            "maxLength": 256
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →