Turn a Node.js health check into an actionable alert
A small scheduled Node.js check that updates a Butters health card and sends a failure event with the endpoint, response time, and reason.
5 articles tagged Insights.
A small scheduled Node.js check that updates a Butters health card and sends a failure event with the endpoint, response time, and reason.
Avoid lost updates when workers increment the same insight card, and learn why atomic arithmetic doesn't solve duplicate delivery or reconciliation.
Some numbers don't need a chart or a BI tool. They need to be somewhere you'll see them. Here is how insight cards work in Butters, how to keep them current from cron, and how to tell whether a number belongs on a card, in the feed, or in an analytics tool.
Backups, Makefiles and cron jobs will never import an SDK. The butters CLI sends events, metadata and KPI numbers to Butters from anywhere you can run a command.
The temptation is to track everything. The useful move is to track the handful of things that happen to your revenue: signups, payments, failures, cancellations. Here is how to pick them, name them, and wire them in without making a mess.