check-target-result schema
servtuner check-target’s output: one entry per check, in order. A check that depends on a failed one is skipped. status is failed when any check failed, warning when any warned, else ok. Never carries a secret value.
Schema file: schema/json/check-target-result.schema.json. Generated from servtuner commit 5b46cdad0e5c.
Top level
Section titled “Top level”| Field | Type | Required | Description |
|---|---|---|---|
status |
checkStatus | Yes | |
checked_at |
utcTimestamp | Yes | |
target_type |
targetType | Yes | |
endpoint |
string |
Yes | |
checks |
array of targetCheck | Yes |
Definitions
Section titled “Definitions”checkStatus
Section titled “checkStatus”The verdict of the whole check.
Type: "ok", "warning", "failed"
checkStepStatus
Section titled “checkStepStatus”skipped: not run, because a check it depends on failed or it does not apply (no Prometheus, no workload, generate not asked for).
Type: "ok", "warning", "failed", "skipped"
checkName
Section titled “checkName”Type: "resolve", "connect", "tls", "auth", "model", "generate", "metrics", "gpu_metrics", "workload"
targetCheck
Section titled “targetCheck”| Field | Type | Required | Description |
|---|---|---|---|
name |
checkName | Yes | |
status |
checkStepStatus | Yes | |
message |
string |
Yes | A sentence a user can act on. |
duration_seconds |
number |
Yes | ≥ 0 |