I built a tool that answers "what changed?" when production breaks
It's 2 AM. PagerDuty goes off. You open your monitoring tool and it tells you, with great confidence, that checkout latency is up 400%. Thanks. Extremely useful. Now the actual work starts: what changed? You open the deploy history in one tab, the feature-flag dashboard in another, the migration log in a third, Slack in a fourth, and you spend twenty minutes doing timestamp archaeology while the…
2 AM. A PagerDuty alert awakens you. Opening your monitoring tool reveals checkout latency has surged by 400%. Now the real work begins: determining what changed. You examine deploy history, feature-flag dashboard, migration log, Slack, all while the pager continues to blare. On-call personnel are familiar with this process. The issue is typically a recent change - a deploy, flag flip, or migration.
Finding the culprit takes time. Tired of performing these tasks manually, I created LastGood. LastGood consolidates alerts (generic webhook or Datadog), GitHub deploys, DB migrations, and feature-flag flips into a single timeline per service. Upon an alert occurring, LastGood assigns scores to recent changes based on their proximity and type, highlighting the most probable causes.
The results are presented as concise cards in your Slack channel. No dashboard, agent, or telemetry crawl is required. You can explore a sandbox with sample data at https://console.lastgood.space/sandbox without signing up. The scoring system relies on heuristics rather than magic. Currently, the score considers the timing of the change, its type (migrations are considered more suspicious than README updates), and other factors such as service criticality, topology, blast radius, and change frequency.
Each score is accompanied by the rationale behind it. I am open to feedback on the weighting of these factors, as I am uncertain about their accuracy at 2 AM. LastGood is built using React, Node/Fastify, Postgres (TimescaleDB), and Redis on a single EC2 instance. Future improvements include visualizing service topology with suggested connections and supporting additional feature-flag providers.
While the product saw no user adoption after its Product Hunt launch last month, I am adjusting my approach by engaging with individuals, participating in relevant communities, and soliciting critical feedback instead of upvotes. The free tier supports up to 2 services and requires no payment. If you receive pages regularly, I would appreciate your thoughts, particularly if you believe the approach is flawed.
You can provide feedback at https://lastgood.space or explore the sandbox at https://console.lastgood.space/sandbox.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to