Public source validation / validate (push) Failing after 3m8s
43 lines
973 B
JSON
43 lines
973 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "pool-capacity-pressure",
|
|
"name": "Pool capacity pressure",
|
|
"description": "Cache/pool utilization crosses warning and critical thresholds.",
|
|
"initialState": {
|
|
"pool": {
|
|
"id": "fixture-cache",
|
|
"utilizationPercent": 70
|
|
}
|
|
},
|
|
"timeline": [
|
|
{
|
|
"atSeconds": 30,
|
|
"action": "set-metric",
|
|
"payload": {
|
|
"metric": "storage.pool.utilization",
|
|
"entity": "fixture-cache",
|
|
"value": 91
|
|
}
|
|
},
|
|
{
|
|
"atSeconds": 720,
|
|
"action": "set-metric",
|
|
"payload": {
|
|
"metric": "storage.pool.utilization",
|
|
"entity": "fixture-cache",
|
|
"value": 98
|
|
}
|
|
}
|
|
],
|
|
"expectedOutcomes": [
|
|
{
|
|
"bySeconds": 700,
|
|
"assertion": "Pool is degraded with a capacity reason after sustained 91 percent."
|
|
},
|
|
{
|
|
"bySeconds": 1100,
|
|
"assertion": "Pool reaches critical according to policy at sustained 98 percent."
|
|
}
|
|
]
|
|
}
|