Spaces:
Sleeping
Sleeping
| { | |
| "sample_runs": [ | |
| { | |
| "query": "What alerts are currently firing?", | |
| "tools_used": ["query_recent_alerts"], | |
| "steps": 2, | |
| "answer": "3 alerts firing: auth-service HighErrorRate (CRITICAL, 47min), api-gateway SlowResponseTime (WARNING, 14min), payment-service CertificateExpiringSoon (WARNING, 1032min)" | |
| }, | |
| { | |
| "query": "Check SLO status for auth-service", | |
| "tools_used": ["check_slo_status"], | |
| "steps": 2, | |
| "answer": "auth-service SLO CRITICAL — burn rate 4.5x over 1h, error budget 97.2% remaining but burning fast. Immediate investigation required." | |
| }, | |
| { | |
| "query": "Calculate error budget for a 99.9% SLO over 30 days", | |
| "tools_used": ["calculate_error_budget"], | |
| "steps": 1, | |
| "answer": "99.9% SLO allows 43.2 minutes of downtime over 30 days (0.1% error budget)" | |
| }, | |
| { | |
| "query": "Get runbook for HighErrorRate alert", | |
| "tools_used": ["get_runbook"], | |
| "steps": 2, | |
| "answer": "Runbook found: check recent deployments, review pod logs, check error breakdown by endpoint. Rollback if deployment-related. Page secondary if not resolved in 15min." | |
| } | |
| ], | |
| "agent_config": { | |
| "model": "Qwen/Qwen2.5-0.5B-Instruct", | |
| "max_steps": 5, | |
| "tools": ["check_slo_status", "get_runbook", "query_recent_alerts", "check_service_health", "calculate_error_budget"], | |
| "approval_required_tools": ["check_service_health"], | |
| "pattern": "ReAct" | |
| } | |
| } | |