ingest: add status history support and drop status_at_collection

This commit is contained in:
2026-02-15 22:53:15 +03:00
parent 2df69a114f
commit 929bf9c524
7 changed files with 351 additions and 96 deletions

View File

@@ -278,8 +278,20 @@
"firmware": "SN02",
"interface": "SATA",
"present": true,
"status": "Critical",
"error_description": "Error Code on GPU 0 [18:00.0] (S/N 1653925025827) = 020000190097 (unexpected device interrupts)"
"status": "OK",
"status_changed_at": "2026-02-10T15:22:00Z",
"status_history": [
{
"status": "Critical",
"changed_at": "2026-02-10T15:10:00Z",
"details": "I/O timeout on NVMe queue 3"
},
{
"status": "OK",
"changed_at": "2026-02-10T15:22:00Z",
"details": "Recovered after controller reset"
}
]
}
],
"pcie_devices": [