@perseus v0.8
@prompt You are a simulated sre working inside a large enterprise.

@query "git log --oneline -5" timeout=5 @cache ttl=86400
@query "kubectl version --short" timeout=5 @cache ttl=86400
@query "kubectl get nodes -o wide" timeout=5 @cache ttl=86400
@query "kubectl top nodes" timeout=5 @cache ttl=86400
@query "kubectl top pods -A" timeout=5 @cache ttl=86400
@query "kubectl describe nodes" timeout=5 @cache ttl=86400
@query "kubectl get events -A --sort-by=.lastTimestamp" timeout=5 @cache ttl=86400
@query "kubectl get hpa -A" timeout=5 @cache ttl=86400
@query "kubectl get pdb -A" timeout=5 @cache ttl=86400
@query "kubectl get networkpolicies -A" timeout=5 @cache ttl=86400
@query "kubectl get crd" timeout=5 @cache ttl=86400
@query "terraform version" timeout=5 @cache ttl=86400
@query "terraform plan -detailed-exitcode" timeout=5 @cache ttl=86400
@query "promtool check rules /etc/prometheus/rules/*.yml" timeout=5 @cache ttl=86400
@query "promtool test rules /etc/prometheus/rules/test/*.yml" timeout=5 @cache ttl=86400
@query "amtool --version" timeout=5 @cache ttl=86400
@query "amtool silence list" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/status/runtimeinfo" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/status/buildinfo" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/alerts | head -100" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/targets | head -100" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9093/api/v2/alerts | head -100" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:3000/api/health" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:3100/ready" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/query?query=up" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/query?query=node_load1" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/query?query=node_memory_MemAvailable_bytes" timeout=5 @cache ttl=86400
@query "curl -s http://localhost:9090/api/v1/query?query=node_filesystem_free_bytes" timeout=5 @cache ttl=86400
@query "df -h" timeout=5 @cache ttl=86400
@query "df -i /" timeout=5 @cache ttl=86400
@query "free -m" timeout=5 @cache ttl=86400
@query "uptime" timeout=5 @cache ttl=86400
@query "uname -a" timeout=5 @cache ttl=86400
@query "hostnamectl" timeout=5 @cache ttl=86400
@query "timedatectl" timeout=5 @cache ttl=86400
@query "ip addr show" timeout=5 @cache ttl=86400
@query "ss -tlnp" timeout=5 @cache ttl=86400
@query "ss -ulnp" timeout=5 @cache ttl=86400
@query "ping -c 3 localhost" timeout=5 @cache ttl=86400
@query "journalctl -n 20 --no-pager -u kubelet" timeout=5 @cache ttl=86400
@query "journalctl -n 20 --no-pager -u docker" timeout=5 @cache ttl=86400
@query "systemctl list-units --type=service --state=running" timeout=5 @cache ttl=86400
@query "systemctl status prometheus" timeout=5 @cache ttl=86400
@query "systemctl status alertmanager" timeout=5 @cache ttl=86400
@query "systemctl status grafana-server" timeout=5 @cache ttl=86400
@query "ps aux --sort=-%cpu | head -20" timeout=5 @cache ttl=86400
@query "ps aux --sort=-%mem | head -20" timeout=5 @cache ttl=86400
@query "top -bn1 | head -30" timeout=5 @cache ttl=86400
@query "vmstat 1 1" timeout=5 @cache ttl=86400
@query "iostat -x 1 1" timeout=5 @cache ttl=86400
@query "sar -u 1 1" timeout=5 @cache ttl=86400
@query "sar -r 1 1" timeout=5 @cache ttl=86400
@query "cat /proc/cpuinfo | grep 'model name' | head -1" timeout=5 @cache ttl=86400
@query "cat /proc/meminfo | head -10" timeout=5 @cache ttl=86400
@query "cat /proc/loadavg" timeout=5 @cache ttl=86400
@query "cat /proc/uptime" timeout=5 @cache ttl=86400
@services
  - name: prom-0
    url: http://localhost:9090/health
    timeout: 2
  - name: prom-1
    url: http://localhost:9091/health
    timeout: 2
  - name: prom-2
    url: http://localhost:9092/health
    timeout: 2
  - name: prom-3
    url: http://localhost:9093/health
    timeout: 2
  - name: prom-4
    url: http://localhost:9094/health
    timeout: 2
  - name: prom-5
    url: http://localhost:9095/health
    timeout: 2
  - name: prom-6
    url: http://localhost:9096/health
    timeout: 2
  - name: prom-7
    url: http://localhost:9097/health
    timeout: 2
  - name: prom-8
    url: http://localhost:9098/health
    timeout: 2
  - name: prom-9
    url: http://localhost:9099/health
    timeout: 2
  - name: prom-10
    url: http://localhost:9100/health
    timeout: 2
  - name: prom-11
    url: http://localhost:9101/health
    timeout: 2
  - name: prom-12
    url: http://localhost:9102/health
    timeout: 2
  - name: prom-13
    url: http://localhost:9103/health
    timeout: 2
  - name: prom-14
    url: http://localhost:9104/health
    timeout: 2
  - name: graf-0
    url: http://localhost:3000/health
    timeout: 2
  - name: graf-1
    url: http://localhost:3001/health
    timeout: 2
  - name: graf-2
    url: http://localhost:3002/health
    timeout: 2
  - name: graf-3
    url: http://localhost:3003/health
    timeout: 2
  - name: graf-4
    url: http://localhost:3004/health
    timeout: 2
  - name: loki-0
    url: http://localhost:3100/health
    timeout: 2
  - name: loki-1
    url: http://localhost:3101/health
    timeout: 2
  - name: loki-2
    url: http://localhost:3102/health
    timeout: 2
  - name: loki-3
    url: http://localhost:3103/health
    timeout: 2
  - name: loki-4
    url: http://localhost:3104/health
    timeout: 2
  - name: alert-0
    url: http://localhost:9093/health
    timeout: 2
  - name: alert-1
    url: http://localhost:9094/health
    timeout: 2
  - name: alert-2
    url: http://localhost:9095/health
    timeout: 2
  - name: alert-3
    url: http://localhost:9096/health
    timeout: 2
  - name: alert-4
    url: http://localhost:9097/health
    timeout: 2
@read /etc/os-release
@read /proc/cpuinfo
@read /proc/meminfo
@read /etc/hosts
@read /etc/resolv.conf
@waypoint ttl=86400
@skills flag_stale=true
@health
@agora status=open,in_progress
@inbox
@drift
