Konfiguration des Heartbeat-Endpunkts
Der Heartbeat-Endpunkt wird typischerweise auf minimale Antwortzeit ausgelegt, da er in der Regel alle paar Sekunden abgefragt wird. Verwenden Sie Test Endpoint Configuration für umfassendere Diagnosen.
Beispiele
Das folgende JSON ist ein Beispiel für diese standardisierte Konfigurationskomponente:
{ "Enable": true
}
Definition
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://invantive.com/schemas/defs/HeartbeatEndpointConfig.schema.json",
"title": "HeartbeatEndpointConfig",
"description": "Heartbeat endpoint configuration.",
"allOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"Enabled": {
"type": "boolean",
"description": "Whether the test endpoint is enabled."
}
}
}
]
}