Engineering blog

Notes from
the engine room.

Stories from building a monitoring agent that runs on other people's servers: the bugs, the physics, and the design rules they forced on us. Written by the engineers, one story a week.

Counting pending patches without assuming it is Debian

A cross-distro look at 'how many security updates are waiting', where every package manager disagrees about exit codes, output, and even what a CVE is.

Read the story

How a monitor should behave on someone else's server

A monitoring agent is a guest on hardware it does not own. The moment your checks show up in the host's own CPU graph, you have overstayed your welcome.

Read the story

A bill you don't have to fear

Billing the monthly average instead of the worst day, refusing to count pods, and why nothing lands on an invoice without an explicit click. Billing rules are trust rules.

Read the story

Proving an eBPF fix on kernels we don't have

A struct changed shape in kernel 6.4 and our zero-touch HTTP metrics refused to load on older kernels. The fix was ordinary. Proving it across four kernel generations without owning a single one of them was the interesting part.

Read the story

Two machines, one identity

Clones, templates and restored backups are routine. Monitoring usually answers them by accident: a double host, a gap in the graphs, or a quiet impersonation. We answered on purpose.

Read the story

The retry loop that sent a thousand alerts

A sixty-second network blip, a write-ahead log doing its job too literally, and the messenger whose throttling hid the storm from us for two hours.

Read the story

The 56 kbps that wasn't there

An offline router kept a live-looking link on our network map for three days, complete with a traffic number. The number was real - it just belonged to something else entirely.

Read the story

Twenty-seven ways to write an expiry date

RDAP was supposed to make domain data machine-readable. Half the registries never showed up. How we read expiry dates from raw WHOIS without lying to anyone - and what a domain 26 hours from death taught us.

Read the story

The dependency your scanner cannot see

The scanner said 16 vulnerabilities. Reachability analysis said 30 - and 22 of them were not in any dependency. What manifest scanners miss by construction, and why the binary is the only honest input.

Read the story

Source-available, on purpose

The agent's code is now public under the Elastic License 2.0. Why not MIT, why we refuse to say 'open source', and what the license does and does not mean for the person auditing it.

Read the story

Why your uptime check lies about dead domains

A loopback probe will call a site healthy long after its domain has died. Here is how it fools you, and how to stop trusting it.

Read the story

Signed everything, now build it yourself

Asking someone to run your agent as root on their production box is a big ask. The answer is not 'trust us', it is 'here is how to verify us'.

Read the story

The segfault that turned out to be a dying CPU

Three nights chasing memory corruption in a PHP extension, and the bug was in the silicon.

Read the story