← Weekly essays

Your alarm system hides the fires it's meant to catch

#infra#data#product#solo-founder

Three clock rings of growing size in a row, the smallest glowing amber with a short hand, the two larger ones dim outlines, and a large dashed ring fading behind them

For months my pricing dashboard cried wolf so often that I stopped reading it. The alarm I'd built to catch stale prices had become the best hiding place for them. Fixing it meant replacing one clock with three, and the split exposed a second problem the single clock could never have shown me.

One clock for three kinds of card

Binderdex is a Pokémon card collection and price app. Its prices are refreshed on a schedule, and I watch that with a pricing dashboard that had a single rule: if any card in the whole catalog was older than 30 hours, the global status flipped red. The catalog is the full list of cards the app prices. I wrote that rule when it was small and every card refreshed on the same cadence. It felt clean, with one number, one threshold and one breach.

Then the catalog grew. Cards that collectors hold in their portfolios, the high-traffic ones people browse, are in trouble when they're 12 hours stale, and a lagging source feed could leave them there. Long-tail catalog cards refresh on a slower schedule and routinely hit 30 hours with nothing wrong at all. One clock treated both as the same event, so the dashboard stayed red for the harmless case and silent for the urgent one.

After a few weeks I noticed what that had done to me. My eyes would flick to the dashboard, see the breach and move on. I still cared, but the signal had been diluted past the point of meaning anything. A light that is always red carries no information.

EACH LANE'S OWN CLOCK THE OLD 30H CLOCK Portfolio lane 12 hours Value lane 24 hours Catalog lane 7 days, diagnostic only Stale at 12h is a real emergency Stale at 24h means drifting Stale at 30h is an ordinary Tuesday says OK says OK screams
One clock was wrong about all three lanes. Only the portfolio lane can flip the breach now.

Three lanes, each with its own deadline

This week I retired the single 30-hour metric. Cards now sit in lanes, which are price-refresh groups, and each lane got its own freshness rule:

  • Portfolio lane, 12 hours. These are the cards a browsing user sees, so staleness here is a user-facing breach.
  • Value lane, 24 hours. Higher-value cards that aren't in a portfolio drift more, and still need to be reasonably current.
  • Catalog lane, 7 days. This is the long tail, where stale counts stay diagnostic and never count as a breach.

The breach function asks two questions where it used to ask one. Are there portfolio cards with no pricing lane assigned? Are there stale cards inside an active lane? The old whole-catalog count is still on the dashboard as a diagnostic number, and it no longer drives any breach decision. Six counts of stale cards, one per card game, feed my operations dashboard directly, so I can see which game's pricing is lagging instead of learning that something is stale somewhere.

The card with no lane

The change I'm happiest about wasn't in the plan. Under the old rule, a card with no lane assignment counted neither for nor against anything, because it fell through a gap in the schema. A card could be active in the portfolio and invisible to the alarm. Unmapped portfolio cards are an explicit global breach now, a hard red, because an active portfolio card has to have a lane.

I didn't find that gap by designing for it. I found it by splitting the clock and then asking what each lane was missing. Once lanes exist, a card without one is obviously wrong, where before it had no shape at all. Decomposing a metric tends to work this way: a second problem has been sitting inside the first one, waiting for a container that makes it visible.

Why raising the threshold fails

The pattern is bigger than freshness clocks. Any monitor that lumps populations with different urgency curves under one threshold will end up here. You start with one metric because you're small and it's simple. The population grows and segments, the segments age at different rates, and a threshold that was once a fair average turns into a number that used to mean something.

The usual instinct when a dashboard cries wolf is to tune it: raise 30 hours to 48, or add a grace period. Tuning moves the problem without fixing it. The fix is admitting the populations are different and giving each one its own clock.

The same week handed me two relatives of this failure. In the pipeline behind Statpro, my sports stats site, a timing bug let one request run both its success code and its failure code. Separately, a check script that filters JSON with jq passed bad evidence because all(.; cond) tested the wrapping list instead of each item inside it. In all three cases the system reported green when it shouldn't have. No alarm was wrong, exactly. Each was silent, and a silent alarm is the dangerous kind, because nothing tells you that you've stopped hearing it.

Split it before it trains you

A per-lane split only works if you know what your lanes are, and that means knowing which cards matter to someone browsing and which don't. That is a product judgment. A dashboard can tell me something is stale, and it can't tell me whether the staleness matters. I have to decide that first and then wire the alarm to respect the decision.

If you have one global threshold covering populations with different urgency, split it before it teaches you to ignore it. My alarm hid fires because it had spent months training me to look away, and three extra dashboard rows were a cheap price for getting my attention back.