Projects / 2026
qdelay
A tiny probe that measures queueing delay under load and exports it as Prometheus metrics.
qdelay answers a narrow question: how long does a packet wait when the link is busy? It sends a small probe at a fixed interval, measures the round-trip time, and exposes the result alongside the current load. The interesting number is not the idle RTT; it is the difference between idle and loaded.
Why
A ping graph at idle tells you almost nothing. The queue only appears when traffic arrives, and by then the application is already complaining. I wanted a probe that runs continuously, costs almost nothing, and makes the queue visible before a user does.
How it works
- A probe packet is sent every 200 ms by default.
- The receiver echoes it with a timestamp.
- The probe records RTT, loss, and the delta from the idle baseline.
- Metrics are exposed on
/metricsfor Prometheus.
qdelay_rtt_seconds{path="wan"} 0.018
qdelay_rtt_idle_seconds{path="wan"} 0.011
qdelay_queue_seconds{path="wan"} 0.007
qdelay_loss_ratio{path="wan"} 0.000
The queue metric is the one I alert on. A sustained queue above 30 ms on a link that should be interactive is a better signal than a utilization graph that never reaches 100%.
Status
Beta. The probe works, the metrics are stable, and the packaging is still rough. It is a single static binary with a small YAML config; no database, no agent, no UI.
Notes
Probe traffic is not free. Keep the interval modest, and do not run it from every host on a large network. One probe per path is enough to see the queue; more than that just adds load.