NVIDIA Health Validation runs on a GPU node, evaluates hardware and driver state against calibrated thresholds, and returns a structured verdict. The verdict answers one question: is this node ready to accept the next workload?
The repository is github.com/dsx-ai-factory/health-validation. It is a single Go module, released under one version tag, whose main packages are:
catalog(…/health-validation/catalog): Check definitions, threshold logic, severity classifications, and a CEL-based evaluation engine. No hardware dependency. Import this if you already collect GPU telemetry and want NVIDIA's operational judgment applied to your signal stream.toolkit(…/health-validation/toolkit): ACollect()function that runs sensors, evaluates all checks, and returns a node-level verdict. Itstoolkit/apppackage holds the CLI and the built-in collection wiring (DCGM and NVML for GPUs, sysfs for CPU, the kernel journal for Xid and RDMA link flap, all throughcollectsensors). Import these if you want the full working sensor and evaluation stack.
toolkit depends on catalog; import toolkit to get both.
For raw observations without catalog evaluation, use the collect
package. See Shared raw collection library
for its ten collection families, typed targets, and custom sensor registration.
Stability. The durable surface is the catalog — the check definitions and the evaluation engine. The collection seams (
WithCollect,WithCollectAdapters,WithChecks,GPUAdapter,CollectAdapter, andcollect.Sensor), with theapp.New,App.Run, andApp.Closelifecycle, are guaranteed too; the rest of thetoolkit's collection wiring is a reference implementation and is subject to change. See the compatibility policy.
The check engine collects typed measurements from sensors, evaluates them against catalog-defined CEL rules and thresholds, and aggregates the results into a node-level verdict. Each check produces a per-check result. The node-level verdict is the worst severity across all checks that ran.
{
"schema_version": "0.7",
"catalog_version": "v0.1.0",
"timestamp": "2026-06-05T14:32:01Z",
"trace_id": "6f1f6f2c-2a70-4d3e-9d1a-0b8f1a3c5d21",
"overall_severity": "PASS",
"severity_by_domain": {},
"check_results": [
{
"timestamp": "2026-06-05T14:32:01Z",
"check_id": "gpu_count",
"span_id": "b4c7e0d9-59a1-4f0e-8c2b-1d6e7a9f3042",
"trace_id": "6f1f6f2c-2a70-4d3e-9d1a-0b8f1a3c5d21",
"severity": "PASS",
"category": "node",
"condition_scope": "NODE",
"skipped": false,
"skip_reason": "NOT_SKIPPED",
"maturity_level": "stable",
"nvidia_endorsed": true
}
],
"skipped_checks": []
}{
"schema_version": "0.7",
"catalog_version": "v0.1.0",
"timestamp": "2026-06-10T14:31:12.337336529-05:00",
"trace_id": "0c9a4b83-7e5d-4a11-93f6-2c8b5e1470af",
"severity_by_domain": {
"node": "CRITICAL",
"xid": "CRITICAL"
},
"affected_components": [
{
"checks": [
{ "check_id": "gpu_count" }
],
"category": "node",
"max_severity": "CRITICAL"
},
{
"checks": [
{ "check_id": "gpu_xid_79" }
],
"entities": [
"0008:01:00"
],
"category": "xid",
"max_severity": "CRITICAL"
}
],
"check_results": [
{
"timestamp": "2026-06-10T14:31:12.330483625-05:00",
"observed_values": {
"gpu_count": 1
},
"thresholds": {
"expected_gpu_count": {
"value": 4,
"original_value": 4,
"category": "DEFAULT",
"overridden": false
}
},
"maturity_level": "stable",
"check_id": "gpu_count",
"span_id": "1a2f5c07-3b64-4e8d-9a70-5f1c2d8e46b3",
"trace_id": "0c9a4b83-7e5d-4a11-93f6-2c8b5e1470af",
"recommended_action": {
"remediation_actions": ["reset_gpu", "restart_os", "service_required"],
"operational_state": "drain"
},
"messages": [
"Expected 4 GPUs, found 1."
],
"severity": "CRITICAL",
"category": "node",
"condition_scope": "NODE",
"skipped": false,
"nvidia_endorsed": true
},
{
"timestamp": "2026-06-10T14:31:12.331524621-05:00",
"observed_values": {
"gpu_id": "GPU-5f1c2d8e-46b3-4e8d-9a70-1a2f5c073b64",
"inactive_count": 0
},
"thresholds": {
"max_inactive_nvlinks": {
"value": 0,
"original_value": 0,
"category": "DEFAULT",
"overridden": false
}
},
"maturity_level": "stable",
"check_id": "nvlink_active",
"span_id": "8d3b6e42-97ac-4d51-b0e8-3a7f4c15928d",
"trace_id": "0c9a4b83-7e5d-4a11-93f6-2c8b5e1470af",
"severity": "PASS",
"category": "nvlink",
"condition_scope": "NODE",
"skipped": false,
"nvidia_endorsed": true
},
{
"timestamp": "2026-06-10T14:31:12.332512987-05:00",
"observed_values": {
"gpu_id": "",
"pci_address": "0008:01:00",
"xid_counts": {
"79": 1
}
},
"maturity_level": "stable",
"check_id": "gpu_xid_79",
"span_id": "e57c190b-46d2-4c8a-a3f1-9b04d7e2635c",
"trace_id": "0c9a4b83-7e5d-4a11-93f6-2c8b5e1470af",
"recommended_action": {
"remediation_actions": ["restart_os", "service_required"],
"operational_state": "drain"
},
"messages": [
"GPU Xid 79 detected: GPU has fallen off the bus and is inaccessible over PCIe. Restart the host. Review system and kernel PCI event logs; contact support for further investigation."
],
"affected_entities": [
"0008:01:00"
],
"severity": "CRITICAL",
"category": "xid",
"condition_scope": "NODE",
"skipped": false,
"nvidia_endorsed": true
}
],
"skipped_checks": [],
"recommended_action": {
"remediation_actions": ["restart_os", "service_required"],
"operational_state": "drain"
},
"overall_severity": "CRITICAL"
}A failing Xid result names its GPU in affected_entities: the GPU UUID when NVML reports the GPU, and the PCI address otherwise, as for a GPU that fell off the bus. A result from a failed journal read names no GPU.
The process exit code is a coarse health signal: 0 for PASS/INFO/WARNING, 1 for CRITICAL/UNKNOWN, and 2 when the tool could not run to a verdict (config/backend/collection/audit/output failure). It does not distinguish CRITICAL from UNKNOWN or INFO from WARNING, and it does not reflect skipped_checks — read overall_severity in the JSON for the precise level.
The verdict JSON is a versioned contract. catalog/health/node-verdict.schema.json is the JSON Schema for it (schema_version MAJOR.MINOR); validate output against it in downstream consumers. catalog_version names the module version, and so the catalog, that produced the verdict, so consumers can verify which check logic and default thresholds were available when the run occurred.
Sensor.Measure() --> []Measurement --> Catalog.EvaluateAll() --> NodeVerdict
Sensors collect typed measurements from hardware. A sensor can produce one measurement per device or one host-wide measurement. The CLI reads GPUs and NVLink through DCGM and NVML, CPU through Linux sysfs, and Xid and RDMA link flap through the kernel journal, all as collect sensors whose observations the toolkit adapts into measurements. Sensors that cannot observe their source return an errored measurement rather than failing the whole run; the catalog decides per-check whether to surface an UNKNOWN verdict or skip.
The CPU sensor counts the logical CPUs in /sys/devices/system/cpu/possible and /sys/devices/system/cpu/online, and the NUMA nodes in /sys/devices/system/node/online. The cpu_count check requires no operator configuration and reports CRITICAL when a kernel-possible CPU is not online. It assumes the target platform does not advertise intentionally unused CPU hotplug capacity and does not validate an exact VM or machine-SKU count, process affinity, or cgroup CPU limits.
The numa_node_count check compares the online NUMA node count against expected_numa_node_count and reports CRITICAL when they differ — typically a platform firmware setting, a kernel boot argument, or a node provisioned as the wrong SKU. The expected value resolves from the detected architecture, and operators override it per fleet. The check lists the architectures it applies to and skips on any other, including a node whose architecture cannot be identified.
Catalog receives measurements, routes each to matching checks by category (GPU measurements run GPU checks, node measurements run node checks), evaluates each check's CEL rules against the measurement values and resolved thresholds, and produces a flat list of check verdicts.
Aggregation takes the flat list and computes the node-level verdict: the worst severity across all non-skipped checks, a severity_by_domain map, a list of affected components for non-PASS results, and one node-level remediation sequence when an actionable check fails.
Per-check results use five severity levels:
| Severity | Meaning |
|---|---|
| PASS | No condition detected. Node is eligible for the next workload. |
| INFO | Anomaly within safe operating bounds. Monitor for trend. |
| WARNING | Condition that degrades performance or increases failure risk. |
| UNKNOWN | Check could not complete. Eligibility for the affected component cannot be assessed. |
| CRITICAL | Imminent risk of failure, data corruption, or unrecoverable state. Remove from service. |
skipped is a separate per-check state, not a severity level. A skipped check contributes nothing to the node-level verdict.
The catalog includes these check families:
| Check ID | Category | What it evaluates | Configurable thresholds |
|---|---|---|---|
cpu_count |
cpu | Whether every kernel-possible logical CPU is online | None |
numa_node_count |
cpu | Whether the node brought online the expected number of NUMA nodes | expected_numa_node_count |
gpu_average_power_draw |
gpu | Whether each GPU's one-second average power draw is within the configured range | min_power_w, max_power_w |
gpu_power_limit |
gpu | Whether each GPU's power limit matches the expected value | expected_power_limit_w |
gpu_performance_state |
gpu | Whether each GPU is within the accepted performance state range | max_performance_pstate, min_performance_pstate |
gpu_sensor_throttle |
gpu | Whether any GPU is being clamped by hardware slowdown, thermal, or power-brake protection | None |
gpu_compute_apps |
gpu | Whether any compute process still holds a GPU | None |
gpu_count |
node | Number of GPUs present on the node | expected_gpu_count |
nvlink_active |
nvlink | Number of active NVLink connections | max_inactive_nvlinks |
nvlink_fabric_health |
nvlink | NVLink fabric-health fault bits (degraded bandwidth, route recovery, access timeout) | None |
nvlink_fabric |
nvlink | Whether each GPU is registered with the NVLink fabric | None |
nvlink_bandwidth_count_speed |
nvlink | Per-GPU NVLink count and per-link speed | expected_link_count, expected_speed_mbytes_per_sec |
nvlink_capabilities |
nvlink | Whether each GPU reports its expected NVLink capabilities | None |
nvlink_p2p |
nvlink | Peer GPUs reachable over NVLink P2P | max_unhealthy_p2p_peers |
rdma_linkflap_fatal |
infiniband | mlx5 RDMA link outages that stayed down past a window | min_outage_seconds, fatal_flap_threshold |
ib_port_state |
infiniband | Whether every InfiniBand or RoCE port is ACTIVE with its link up. Experimental: off unless enabled | excluded_link_layers, expected_ib_state, expected_ib_physical_state |
gpu_xid_<code> |
xid | One check per Xid code seen in the journal, with catalog-defined severity and action | occurrences; Xids 144–150 use fatal_occurrences, nonfatal_occurrences |
gpu_xid_149_<hex> |
xid | One check per Xid 149 NETIR_LINK_EVT/NETIR_LINK_DOWN subtype NVIDIA's decode table distinguishes | occurrences |
gpu_xid_154 |
xid | The recovery action Xid 154 last reported per GPU (CRITICAL for a reset, reboot, or P2P drain; WARNING for an action the catalog does not map or an unreadable transition; INFO for none; occurrences counts reports per action) |
occurrences |
gpu_xid_informational |
xid | A logged Xid code that NVIDIA's Xid catalog marks Unused, IGNORE or gives no resolution, and no registered check covers (INFO, no action) | occurrences |
gpu_xid_unknown |
xid | A logged Xid code that no registered check covers and that is not informational (WARNING, monitor) | occurrences |
Each check definition carries:
execution_contexts: where the check can run (OPERATOR_INFRA, TENANT_GUEST)category: the hardware domain (cpu, gpu, node, nvlink, pcie, infiniband, storage, xid)provenance:nvidiafor all built-in checksmaturity_level: stable or experimental. Experimental checks run only when the config enables them; see Experimental checkscondition_scope: how far the condition reaches (NODE, DOMAIN, CLUSTER)
GB300 support. Most checks in the catalog declare support for both GB200 and GB300 in their
Architecturesfield. GB200 support has been validated; GB300 support has not yet completed the same validation pass. Treat GB300 results as directionally correct but experimental and subject to change until this note is removed.
B300 support. HGX B300 (8 GPUs per x86_64 node, NVLink within the node only) is listed next to B200 on the checks that apply to a single HGX baseboard, with its per-architecture defaults (8 GPUs, 18 NVLink 5 links at 53125 MB/s) taken from operator measurements on B300 nodes. As for B200, the multi-node NVLink fabric checks, the GPU power limit and the NUMA node count are not listed. B300 has not completed the GB200 validation pass; treat its results like GB300's.
Xid checks use the public NVIDIA Xid catalog's per-code applicability. H200
uses the H100 applicability matrix because both products use the Hopper
architecture; Xid 144-150 and their subtype checks run on Blackwell and Rubin only.
B300 uses the B200 applicability matrix because both are Blackwell GPUs on an
HGX baseboard, so it runs Xid 144-150 but not Xid 142, which the catalog marks
for GB-x00 and Rubin only. VR uses the catalog's Rubin column, which marks
every Xid that applies to GB-x00, so VR runs the same Xid checks as GB300,
plus the Rubin-only Xids 177, 180 and 182.
Warning-class Xids are individual gpu_xid_<code> checks.
- go 1.27.3
- Linux sysfs exposing
/sys/devices/system/cpu/{possible,online}and/sys/devices/system/node/online(required for CPU collection) - NVIDIA driver with NVML (libnvidia-ml), for GPU inventory, compute processes, and NVLink (not required if you supply measurements directly)
- For the CLI's GPU power, power-limit, pstate, and throttle checks, and
nvlink_fabric: a running DCGM hostengine (nv-hostengine) on the node and the DCGM 4 client library (libdcgm.so.4). Without them those checks fail with a collection error.
OS: Linux (x86_64, aarch64). CPU collection reads sysfs directly without sudo or an external executable. The toolkit GPU sensor is Linux-only; the catalog package compiles and runs on any platform.
Import the module:
go get github.com/dsx-ai-factory/health-validation@latestInstall the CLI:
go install github.com/dsx-ai-factory/health-validation/toolkit/cmd/health-validation@latestThe binary is written to $(go env GOBIN), or $(go env GOPATH)/bin when
GOBIN is unset. Put that directory on your PATH, then run
health-validation run.
The CLI links NVML and DCGM through cgo, so this needs a C compiler. It also
needs Go 1.27.3 or later. Go 1.21 or later switches to a newer toolchain on its
own when GOTOOLCHAIN is auto (the default), and may pick a release newer
than 1.27.3. With GOTOOLCHAIN=local, or an older Go such as Ubuntu 22.04's
golang-go (1.18), install Go 1.27.3 or later yourself.
@main is not supported for go install: it still resolves to a pre-merge
toolkit pseudo-version. To install the tip of main, pin the root module's
version:
V=$(go list -m -f '{{.Version}}' github.com/dsx-ai-factory/health-validation@main)
go install github.com/dsx-ai-factory/health-validation/toolkit/cmd/health-validation@$VBuild the binary from source:
# Standard go build (local iteration)
go build -o health-validation ./toolkit/cmd/health-validation
# Canonical build via Bazel
bazel build //toolkit/cmd/health-validationRun a one-shot check:
./health-validation runServe verdicts on demand over local HTTP and gRPC:
./health-validation serve --address 127.0.0.1:8080
# From another terminal on the same node:
curl --fail http://127.0.0.1:8080/verdictEach request uses the same evaluation core as run and returns a fresh
NodeVerdict. Every severity, including CRITICAL, is a successful API response;
inspect overall_severity. The agent serializes collection and exits 0 on a
clean shutdown or 2 on startup failure. Its default listener is
127.0.0.1:8080; the plaintext API is intended for local callers. Agentkit remains
experimental (v0). See Agent mode for the contract, request
overrides, timeouts, metrics, and container/systemd examples.
The verdict's node_id defaults to the configured system hostname. Use
--node-id <id> to supply a scheduler or inventory identifier instead.
Optional --cadence CONTINUOUS|PROLOG|MAINTENANCE
runs checks scheduled for that window and reports the others as
CADENCE_MISMATCH skips; omit it to run the full stock catalog.
The execution context defaults to TENANT_GUEST. Use
--execution-context OPERATOR_INFRA|TENANT_GUEST|OUT_OF_BAND to select checks
for a different execution context.
run, serve, and collect can limit which Xid events are considered. By default,
collection covers the entire current boot.
After resetting an individual GPU, use --xid-from PCI_ADDRESS=unix-seconds
to exclude its earlier Xids while retaining the other GPUs' history. This option
may be repeated per GPU:
./health-validation run --xid-from 0008:06:00=1792600000 --xid-from 0009:06:00=1792603600To set a start time for all GPUs on the node, use --xid-from <unix-seconds>.
Optional --xid-to <unix-seconds> sets a shared end time for every GPU. For
example, to evaluate Xids within the same interval on all GPUs:
./health-validation run --xid-from 1792600000 --xid-to 1792603600The interval excludes its start and includes its end. A caller that polls
back-to-back windows, passing the previous --xid-to as the next
--xid-from, sees an Xid logged exactly on the shared second once. Advance
any GPU-specific --xid-from the same way, or drop it so that the node-wide
start applies; otherwise that GPU's entries since its start are reported again.
The two forms of --xid-from can be combined: a GPU-specific start time
overrides the node-wide start time for that GPU. GPUs without an override use
the node-wide start time, or the entire current boot if none is supplied.
Addresses use dddd:bb:dd (optionally .0), with case-insensitive hex digits
and domains of four or more digits.
Start times must be non-negative, and the end time must be positive and later than every supplied start time. Either bound may be omitted. Duplicate GPU bounds or multiple node-wide start times will result in an error.
These flags filter the default Xid journal sensor within the current boot.
Other journal sensors, including RDMA link-flap detection, and sensors that
claim the Xid signals through WithCollect keep their own collection behavior.
On exit 0 or 1 a JSON verdict is written to stdout; on exit 2 no verdict was produced — the error goes to stderr and stdout is empty. The exit code is a coarse health signal (0 = PASS/INFO/WARNING, 1 = CRITICAL/UNKNOWN, 2 = the tool could not produce a verdict); check overall_severity in the output for the precise level.
Run with a config file (threshold overrides):
./health-validation run --config operator.yamlCollect sensor measurements without evaluating checks:
./health-validation collect > observations.jsonFor collect, an optional config's check IDs select the sensor domains to run. Without one, every built-in sensor domain runs. The output is one ObservationBatch (collect/proto/health/v1/observation.proto) in protojson form, with one observation per measurement field. Each signal ID is the domain plus the field name the checks read (e.g. nvlink.inactive_count); these are toolkit names, not canonical collect signal IDs. GPU measurements target the GPU and host-wide ones target the node (--node-id, defaulting to the hostname). Xid measurements target their GPU by UUID when known, by PCI address (a pci target) when only the address is known, and the node otherwise; two GPUs whose printed addresses do not parse both land on the node target. Each observation carries a value, a collectionError, or a noValue; map and list fields are JSON-encoded strings. A signal the source reports as unsupported is a noValue with reason NO_VALUE_REASON_NOT_SUPPORTED, never a zero value. Sensor failures remain structured data and do not change the successful exit code. Threshold values in that config are validated but not applied, and collect records no override audit entries.
Slurm prolog integration:
#!/bin/bash
# /etc/slurm/prolog.d/health-validation.sh
nodename="$SLURMD_NODENAME"
VERDICT=$(./health-validation run --node-id "$nodename")
EXIT=$?
# Exit 2: the tool could not produce a verdict (config/backend/collection/audit error).
if [ $EXIT -eq 2 ]; then
echo "health-validation failed to run" >&2
exit 1
fi
# Exit 1: CRITICAL or UNKNOWN verdict. The JSON was still written, so read
# overall_severity for the drain reason.
if [ $EXIT -ne 0 ]; then
SEVERITY=$(echo "$VERDICT" | jq -r '.overall_severity')
scontrol update nodename="$nodename" state=drain reason="health-validation:$SEVERITY"
exit 1
fi
# Exit 0: PASS/INFO/WARNING. Inspect overall_severity/skipped_checks if you
# want to gate WARNING or partial-coverage nodes more strictly.
exit 0Direct evaluation (supply measurements from your own telemetry stack):
import (
"github.com/dsx-ai-factory/health-validation/catalog"
"github.com/dsx-ai-factory/health-validation/catalog/node"
"github.com/dsx-ai-factory/health-validation/catalog/health"
)
cat := catalog.New(
catalog.WithArchitecture("GB200"),
catalog.WithExecutionContext(health.OperatorInfra),
)
m := node.NodeMeasurement{GPUCount: 4}
verdict, err := cat.EvaluateAll(m)
if err != nil {
log.Fatal(err)
}
fmt.Printf("overall_severity=%s\n", verdict.OverallSeverity)Sensor collection (collect from hardware and evaluate in one call):
import (
"github.com/dsx-ai-factory/health-validation/catalog"
"github.com/dsx-ai-factory/health-validation/catalog/health"
"github.com/dsx-ai-factory/health-validation/toolkit"
)
cat := catalog.New(
catalog.WithArchitecture("GB200"),
catalog.WithExecutionContext(health.OperatorInfra),
)
// mySensor is any toolkit.Sensor. To run a collect sensor here, wrap it as in
// toolkit's Example_collectSensor. To reuse the stock CLI's wiring instead,
// build a toolkit/app App and add sources with WithCollect and adapters with
// WithCollectAdapters; see docs/extending.md.
verdict, err := toolkit.Collect(cat, mySensor)Disable a specific check:
cat := catalog.New(
catalog.WithArchitecture("GB200"),
catalog.WithDisabledChecks("gpu_xid_79"),
)Disabled checks appear in skipped_checks with skip_reason: CHECK_DISABLED.
Experimental checks are off unless you enable them; see Experimental checks:
cat := catalog.New(
catalog.WithArchitecture("GB200"),
catalog.WithExperimentalChecks("ib_port_state"), // or WithAllExperimentalChecks()
)Override a Default threshold or disable a check via config file:
# operator.yaml
checks:
gpu_count:
expected_gpu_count: 8
nvlink_active:
max_inactive_nvlinks: 0
gpu_xid_79:
occurrences: 2
gpu_xid_149:
fatal_occurrences: 1
nonfatal_occurrences: 5
disabled_checks:
- gpu_performance_stateXid occurrence thresholds count per GPU: occurrences: 2 fires on a GPU that
logged two matching Xids, not on two GPUs that logged one each.
Every ID under disabled_checks is validated against the registered checks, so
a typo fails the run rather than leaving the check quietly enabled. Because
skipped checks are excluded from overall_severity, a disable narrows the
minimum bar the node is held to — read skipped_checks, not just the exit code,
to know what actually ran.
Each threshold override is also recorded in the host's systemd journal, and the
run exits 2 if it cannot be. See
docs/integration.md.
A check whose maturity_level is experimental is still under evaluation and
may change or be withdrawn, so it does not run unless you turn it on. Until you
do, it appears in skipped_checks with skip_reason: CHECK_DISABLED and a
detail saying it is experimental, it never affects overall_severity or the
exit code, and run and serve collect nothing for it. collect gathers whole
categories, so a sibling check that is enabled can still pull in its signals.
Stable checks are unaffected.
Enable every experimental check, or only the ones you name:
# operator.yaml
experimental:
enabled: true # every experimental check, including ones later releases add
checks: # or only these
- ib_port_stateThe two settings add up: enabled: true runs every experimental check, so a list
beside it adds nothing, and checks never narrows enabled. Leave enabled off
and name the checks if you want an upgrade never to start running a new
experimental check, since enabled: true also covers ones a later release adds.
The list is validated either way. An ID that matches no
registered check is an error, like disabled_checks. Naming a check that has
since become stable is not, so a config keeps working when a check graduates. A
check listed under disabled_checks stays off however it is enabled. Read
skipped_checks to see which experimental checks did not run.
The same config file can push the verdict to an OTLP/HTTP metrics endpoint — a collector running on the node, or a remote one:
# operator.yaml
metrics:
enabled: true
endpoint: http://127.0.0.1:44318 # full URL, not the collector's host:port form
timeout_seconds: 10 # optional; defaults to 10
headers: # optional; for an endpoint that authenticates values are passed as plain text since GPUs are considered privileged
x-api-key: <SECRET>
resource_attributes: # optional; fleet context on every metric
cluster: dsx-eastendpoint is a full URL. An OTLP collector's own receiver config writes
127.0.0.1:44318, so that form is the easy mistake — it is rejected at load
time with the fix spelled out. A URL with no path gets /v1/metrics appended;
an explicit path is used as given. https enables TLS. Any values that are
written to headers or resource_attributes are passed along as plain text
not as expanded environment variables.
Six metrics are defined, all published on every run.
| Metric | Type | Value | Attributes |
|---|---|---|---|
health_validation.node.severity |
gauge | 1/0 |
severity |
health_validation.domain.severity |
gauge | 1/0 |
severity, category |
health_validation.check.severity |
gauge | 1/0 |
severity, check_id, category, condition_scope, maturity_level, nvidia_endorsed |
health_validation.check.skipped |
gauge | 1/0 |
check_id, category, maturity_level, skip_reason |
health_validation.check.affected_entities |
gauge | Count of distinct entities a check named, 0 included |
check_id, category |
health_validation.runs |
counter (delta) | 1 |
severity |
The three severity gauges carry the severity as a name — PASS, INFO,
WARNING, CRITICAL, UNKNOWN — rather than encoding it as a number to
decode. Each run reports all five for every subject: 1 for the severity in
effect and 0 for the other four. So a critical node is
health_validation_node_severity{severity="CRITICAL"} 1
health_validation_node_severity{severity="PASS"} 0
and alerting on it is health_validation_node_severity{severity="CRITICAL"} == 1.
Emitting the zeros matters: if only the severity in effect were reported, the
previous run's severity="CRITICAL" point would sit at 1 with nothing to
contradict it, and a node that had recovered would keep reading as critical.
A check that runs per entity — most GPU and NVLink checks, and the Xid checks —
produces one result per GPU, so check.severity reports the worst severity
across them and check.affected_entities counts the distinct entities named.
One failing GPU therefore shows as a failing check; which GPU it was is in the
JSON verdict's affected_entities, not in the metrics.
check.skipped reports every check against every skip reason: 1 if it was
skipped for that reason, 0 if it was not.
check.affected_entities reports 0 for a check that ran and named nothing.
Node identity and versions ride on the OTLP resource
(service.name, service.version, service.instance.id = the node ID, plus
health_validation.catalog_version and health_validation.schema_version), not
on each data point. The per-run trace_id and span_id are deliberately not
published — they are unique every run and would mint a new time series per
execution; read them from the JSON verdict instead.
Publishing never changes the verdict or the exit code: an unreachable collector is logged as a warning and the run reports exactly what it would have reported otherwise. The verdict JSON is written to stdout before the push, so a slow collector cannot delay it.
Where the metrics go and what is sent with them comes only from this config.
The OTLP exporter reads OTEL_EXPORTER_OTLP_* from the environment and applies
it before the options it is given, so every setting carrying a destination or
credentials — endpoint, headers, timeout, compression — is passed explicitly,
empty values included, to overwrite whatever the node's environment holds. A
stray OTEL_EXPORTER_OTLP_HEADERS cannot attach another endpoint's credentials
to yours. TLS trust material (OTEL_EXPORTER_OTLP_CERTIFICATE and the
client-certificate variables) is the deliberate exception, still read from the
environment: it is the only way to reach a collector behind a private CA, and
this config has no field for it.
Running in a container? The stock wrapper does not use host networking, so
127.0.0.1inside the container is not the node's loopback. See docs/integration.md.
- docs/integration.md: deploy to a GPU cluster, wire into the workload lifecycle, act on verdicts, collect results across the fleet
- docs/remediation.md: the remediation action catalog and how to work through a check's remediation sequence
- docs/architecture.md: package roles, data flow, adding checks and sensors
- docs/extending.md: extend the catalog with your own private checks
- docs/developer.md: build, CI, container images, publishing
- docs/faq.md
- catalog/health/node-verdict.schema.json: JSON Schema for the node verdict output
- CONTRIBUTING.md
- ROADMAP.md: development focus areas and related work
- Design proposals: propose and review substantial changes before implementation
| Role | Responsibilities |
|---|---|
| Engineering Lead | Check engine architecture, sensor layer, Go module structure |
| Engineering Manager | Engineering planning and team coordination |
| TPM | Milestone tracking and release coordination |
| PM | Catalog scope and contribution program |
Contributions welcome. See CONTRIBUTING.md for setup, check authoring, and PR guidelines. All participation is governed by our Code of Conduct.
This project is licensed under the Apache License 2.0. See LICENSE.
GitHub Issues is the public support channel for bug reports and feature requests. See SUPPORT.md for other help options and response expectations.
Report security vulnerabilities privately as described in SECURITY.md. Do not file a public issue.