Create scenarios.json
Browse files- config/scenarios.json +57 -0
config/scenarios.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"Cache Miss Storm": {
|
| 3 |
+
"description": "Redis cluster experiencing 80% cache miss rate causing database overload",
|
| 4 |
+
"severity": "CRITICAL",
|
| 5 |
+
"component": "redis_cache",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"cache_hit_rate": 18.5,
|
| 8 |
+
"database_load": 92,
|
| 9 |
+
"response_time_ms": 1850,
|
| 10 |
+
"affected_users": 45000,
|
| 11 |
+
"eviction_rate_per_sec": 125
|
| 12 |
+
},
|
| 13 |
+
"business_impact": {
|
| 14 |
+
"revenue_loss_per_hour": 8500,
|
| 15 |
+
"sla_violation": true,
|
| 16 |
+
"customer_sat_change": -40,
|
| 17 |
+
"affected_services": ["API Gateway", "User Service", "Payment"]
|
| 18 |
+
},
|
| 19 |
+
"roi_data": {
|
| 20 |
+
"hourly_revenue_loss": 8500,
|
| 21 |
+
"manual_recovery_hours": 1.0,
|
| 22 |
+
"enterprise_recovery_hours": 0.2,
|
| 23 |
+
"engineers_required": 4,
|
| 24 |
+
"engineer_hourly_rate": 150,
|
| 25 |
+
"estimated_monthly_occurrences": 2,
|
| 26 |
+
"enterprise_savings_percentage": 0.85
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"Database Connection Pool Exhaustion": {
|
| 30 |
+
"description": "PostgreSQL connection pool exhausted causing API timeouts",
|
| 31 |
+
"severity": "HIGH",
|
| 32 |
+
"component": "postgresql_database",
|
| 33 |
+
"metrics": {
|
| 34 |
+
"active_connections": 98,
|
| 35 |
+
"max_connections": 100,
|
| 36 |
+
"api_latency_ms": 2450,
|
| 37 |
+
"error_rate": 15.2,
|
| 38 |
+
"queue_depth": 1250,
|
| 39 |
+
"connection_wait_seconds": 45
|
| 40 |
+
},
|
| 41 |
+
"business_impact": {
|
| 42 |
+
"revenue_loss_per_hour": 4200,
|
| 43 |
+
"affected_services": ["API Gateway", "User Service", "Payment Service"],
|
| 44 |
+
"sla_violation": true,
|
| 45 |
+
"partner_api_impact": 3
|
| 46 |
+
},
|
| 47 |
+
"roi_data": {
|
| 48 |
+
"hourly_revenue_loss": 4200,
|
| 49 |
+
"manual_recovery_hours": 0.75,
|
| 50 |
+
"enterprise_recovery_hours": 0.13,
|
| 51 |
+
"engineers_required": 2,
|
| 52 |
+
"engineer_hourly_rate": 150,
|
| 53 |
+
"estimated_monthly_occurrences": 3,
|
| 54 |
+
"enterprise_savings_percentage": 0.82
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
}
|