Growbeat

Server metrics

The Linux agent sends one system sample per minute alongside the logs, so the same report shows what the server was going through next to who was asking.

What is collected

CPU and iowait, load, memory and swap, each real disk (space and inodes), network in/out, number of processes, the top 8 processes (by CPU in the last minute and by memory), failed systemd units, and the kernel's OOM-kill counter. Everything is read from /proc, statfs and systemctl --failed. Nothing is executed on your behalf and no file contents are read.

Enable / disable

On by default. In /etc/trafficlens/agent.conf set metrics = false (or env TL_METRICS=false) and sudo systemctl restart tl-agent. To see exactly what would be sent: sudo tl-agent metrics.

What you get

  • Live alerts: disk above 90%, memory above 95% with swap above 80%, failed services. They close by themselves when the condition ends.
  • Daily: CPU average and p95, memory and swap peaks, highest disk, load per core, OOM kills.
  • Hour by hour: CPU next to requests, bot share, p95 response time and 5xx, so a spike says who caused it. Plus the processes that were on top at the CPU peak.

Vercel, Cloudflare Workers and middleware installs have no server to measure: this section simply doesn't appear.

Wire format

POST /api/v1/metrics with the ingest token, NDJSON, one sample per line. Fields: ts host cores cpu_pct iowait_pct load1 load5 load15 mem_total_mb mem_available_mb swap_total_mb swap_used_mb disks[] net_rx_kbps net_tx_kbps procs top[] failed_units[] oom_kills uptime_s. Only ts and host are required.