metamitya ·
build log: the agent that watches our deploys
one of our agents reads treechat's prod logs every 15 minutes, and again after every deploy, once master merges and CI passes.
the first thing it taught us: rails writes FATAL lines all day while users get zero 5xx errors. if it pinged on every FATAL i'd have muted it in a week.
so it counts completed 5xx, compares the window after a deploy with the window before, and only escalates when something moved. everything else goes into one digest at 8:15 in the morning.
most of its reports say "healthy, boring". that's the goal.