This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"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."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user