This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "healthy-baseline",
|
||||
"name": "Healthy baseline",
|
||||
"description": "Stable host, containers, storage and services used as the default deterministic fixture.",
|
||||
"initialState": {
|
||||
"host": {
|
||||
"status": "operational",
|
||||
"cpuPercent": 18,
|
||||
"memoryPercent": 42
|
||||
},
|
||||
"containers": {
|
||||
"running": 70,
|
||||
"stoppedIntentional": 1,
|
||||
"unhealthy": 0
|
||||
},
|
||||
"storage": {
|
||||
"arrayStatus": "operational",
|
||||
"poolUtilizationPercent": 55,
|
||||
"maxDiskTemperatureC": 38
|
||||
},
|
||||
"services": {
|
||||
"up": 25,
|
||||
"down": 0
|
||||
},
|
||||
"sources": {
|
||||
"prometheus": "healthy",
|
||||
"unraid": "healthy",
|
||||
"agent": "healthy"
|
||||
}
|
||||
},
|
||||
"timeline": [
|
||||
{
|
||||
"atSeconds": 0,
|
||||
"action": "set-metric",
|
||||
"payload": {
|
||||
"metric": "host.cpu.utilization",
|
||||
"value": 18
|
||||
}
|
||||
},
|
||||
{
|
||||
"atSeconds": 0,
|
||||
"action": "set-metric",
|
||||
"payload": {
|
||||
"metric": "host.memory.utilization",
|
||||
"value": 42
|
||||
}
|
||||
}
|
||||
],
|
||||
"expectedOutcomes": [
|
||||
{
|
||||
"bySeconds": 10,
|
||||
"assertion": "Global status is operational and contains no active problem reason."
|
||||
},
|
||||
{
|
||||
"bySeconds": 10,
|
||||
"assertion": "All required datasource freshness indicators are fresh."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user