To find bugs in production before your customers do, capture every failed request and exception at the source, group them into issues, alert on each new issue the moment it appears after a deploy, and probe your endpoints from outside so you learn about downtime first. That is production error tracking. Here is how to set it up.
Production error tracking is the practice of collecting the errors your live application produces for real users, grouping the ones that share a cause into one issue with a count and the users affected, and alerting when a new issue appears or a known one spikes. The difference from reading logs is that the grouping and the alerting happen for you.
What counts as an error in production
Not everything called an error is your problem, and not every problem looks like an error. It helps to be clear about the kinds you actually need to track.
- Server errors (5xx). The HTTP spec defines the 5xx class as the server being aware it has erred or cannot perform the request.1 These are almost always yours to fix, and they are the first thing to watch.
- Client errors (4xx) that are really your fault. The 4xx class means the client seems to have erred.1 A lot of 4xx is genuinely the client, but a spike in 400s or 404s often means you shipped a bad link or broke an API contract.
- Unhandled exceptions. Code that threw and was not caught. These may or may not reach the user as a 500, but they are issues either way.
- Failed background work. A queue job, cron, or webhook that failed quietly. No user saw a status code, but the work did not happen.
- Silent failures. The worst kind. The request returns 200, nothing throws, and the result is simply wrong: a charge that did not go through, an email that never sent. No error signal at all unless you check the outcome.
The first four show up if something is watching status codes and exceptions. The last one is why error tracking alone is not enough, and why investigation matters: you often learn about silent failures from a symptom, not an error.
Why production errors slip past you
Most teams are not missing errors because they lack tools. They miss them for a handful of ordinary reasons.
- They are logged, but nobody reads logs. The error is sitting in a log file or a stream nobody opens until something is already on fire.
- They are caught and swallowed. A try/catch that logs and moves on means the code keeps running and the failure never surfaces.
- They hide inside the volume. A 0.5% error rate is invisible by eye and very real to the few hundred users hitting it.
- Nobody watches the deploy. Most new issues start minutes after a release. If the only thing you check after deploying is that the health endpoint is up, the first report of the new issue comes from a customer.
- The alerts are noise, so the real one gets ignored. When everything pages, nobody looks. We wrote about this in alert fatigue.
What to actually measure
Errors are one of the four golden signals from Google's SRE practice (latency, traffic, errors, saturation), the small set of things worth watching above all else.2 For errors specifically, a few measures carry most of the weight.
| Measure | Why it matters |
|---|---|
| Error rate, per route | A failing /checkout matters far more than a failing /favicon. Aggregate rates hide this. |
| New vs known issues | A brand-new issue after a deploy is the highest-signal event you have. A known one with a rising count is second. |
| Error rate, per release | The new version against the old one, side by side. If the aggregate is flat but the new version is failing, the rollout is the problem. |
| Affected users (blast radius) | Ten errors from one bot is noise; ten errors from ten paying customers is an incident. |
| Error budget burn | Against a reliability target, are you spending your allowed failures faster than planned? |
That last row is worth knowing about. Instead of chasing a perfect zero, the SRE approach sets an error budget: pick a target like 99.9% of requests succeeding, and treat the remaining 0.1% as failures you can afford.3 You act when you are burning the budget too fast, which keeps you from paging on every single error while still catching the ones that add up.
How to find issues before customers do, in six steps
- Capture errors at the source. Instrument with OpenTelemetry. A failed request becomes a span with status
Error,4 and the exception travels with it asexception.type,exception.messageandexception.stacktrace,5 so a failure carries its stack trace and context, not just a log line somewhere. If you build with Claude Code, it can do this part for you. - Tag every signal with the release. Set
service.versionon your OpenTelemetry resource to the version or commit you deployed.6 It costs one line, and it is what lets you ask "did this start with the last deploy?" and get an answer instead of a guess. - Group errors into issues. One root cause, one item, with a count and the users it hit. Without grouping, a single broken query after a deploy shows up as a thousand events, and the real second issue hides under them. Error tracking for small teams covers what good grouping looks like.
- Alert on the two things that mean something. Any brand-new issue, and a spike in error rate on the routes tied to money and trust: checkout, login, the API customers depend on. Both usually trace back to a recent deploy, which makes them easy to act on.
- Check from outside, on a schedule. Error tracking only sees requests that reach your code. A probe that calls your endpoint every minute from outside is the only thing that tells you when nothing reaches it at all: DNS, a certificate, a crashed process, a full disk.
- Make the path from alert to cause short. An alert that says "errors are up" without telling you why just starts a scramble. You want to go from the spike to the trace and the log line behind it in seconds, not by opening five tabs. AI root cause analysis is what this step looks like when the investigation is done for you.
Canary deploys, synthetic checks and release tracking, the small-team version
Ask an AI assistant how to find bugs in production first and you get the large-team answer: canary deployments, synthetic monitoring, release tracking, an on-call rotation. The ideas are right. The setups behind them assume a platform engineer. Here is what each one is for, and the version a team of one to ten can actually run.
| Practice | What it is for | The small-team version | With Fixter |
|---|---|---|---|
| Canary deploy | Ship a change to a slice of traffic first (Google’s worked example uses 5%) and compare its error rate with the rest before rolling out fully. | Tag telemetry with the release version and watch new issues and the error rate per version right after each deploy. A rollback is your canary analysis. | Every new issue is announced the moment it appears and investigated automatically. Ask your coding agent what changed since the deploy. |
| Synthetic checks | Scripted probes that call your endpoints from outside on a schedule, so downtime is found by a robot rather than a customer. | One HTTP check per endpoint that matters, every minute or so, alerting when it fails. Add a check for your MCP server if you run one. | Uptime checks from outside, down to every 30 seconds, with uptime tracked as the share of passing runs. A check that goes down notifies you like an alert. |
| Release tracking | Know which version each error came from and which deploy introduced it. | One line: service.version on the OpenTelemetry resource. Everything you send carries it from then on. | Fixter stores the attributes your telemetry carries, service.version included, so you can ask about one version from your coding agent. |
| Alerting on new issues | Page on a new kind of failure, not on every occurrence of a known one. | Group errors by root cause, alert once per new group, and on a spike for known groups. | Automatic. New issues only, collapsed into one notification when several appear at once, by email or Slack. |
| On-call investigation | Someone looks at the alert, finds the cause and decides what to do. | Keep the alert, the trace and the log line one click apart, and investigate from the editor you already have open. | The investigation runs on its own: root cause, who is affected, since when, and a suggested fix. You pull it into your coding agent and decide. |
Canary deploys without the platform
Google's SRE workbook defines canarying as a partial, time-limited deployment of a change and its evaluation: the slice that gets the change is the canary, the rest is the control, and the rollout continues only if the canary's error rate stays close to the control's.7 The point of the pattern is the comparison, not the traffic split. If you deploy all at once, you can still get the comparison: the previous version's error rate is your control, the minutes after the deploy are your canary, and a new issue in that window is your signal to roll back. That only works if your telemetry knows which version it came from, which is step 2 above.
Synthetic checks are the cheap one
Of everything on the list, external checks are the least work for the most cover. Error tracking cannot report a request that never arrived. A check that calls your login endpoint every minute, from outside your network, and alerts when the status or latency is wrong, catches the whole class of outages that produce no error at all on your side. Set it up on the handful of endpoints a customer would notice within the hour.
Production error tracking with Fixter
Fixter is ours, so weigh this section with that in mind. Fixter (fixter.dev) finds and fixes the issues in your app in production, from your coding agent: errors, failing infrastructure, slow requests and downtime. It finds the root cause and fixes it: in your agent over MCP, or as a pull request ready for your review. Nothing to learn, built for small teams.
Against the six steps: your app sends logs, traces and metrics over standard OpenTelemetry, with no Fixter SDK. Errors that share a root cause become one issue, with variable parts like ids and hostnames normalised so variants of the same error stay together.8 When an issue Fixter has not seen before appears, it tells you by email or Slack and starts an investigation on its own: root cause, what was ruled out, who is affected, and a suggested fix.8 Uptime checks probe your endpoints and MCP servers from outside, every 30 seconds at the shortest, and a check that goes down notifies you the same way an alert does.9 Then you ask about it from the editor you already have open:
To set it up, paste this into Claude Code in your project:
Read fixter.dev/llms.txt and set up Fixter.
If you would rather wire it by hand, it is four environment variables. Free plan. Paid from €20 a month. Debugging production from Claude Code shows what the fix side looks like once the issue is in front of your agent, and error tracking sits inside the wider picture in APM for small teams. If you are weighing dedicated error trackers, the Sentry alternatives guide compares them.
Key takeaways
- Track 5xx, the 4xx spikes that are your fault, unhandled exceptions, failed jobs, and silent 200 failures
- Errors slip past because they are logged but unread, swallowed, hidden in the volume, or nobody watched the deploy
- Measure error rate per route and per release, new vs known issues, affected users, and error budget burn
- Capture with OpenTelemetry, tag the release, group into issues, alert on new ones, check from outside, keep the path to the cause short
- Canary deploys and synthetic checks have a small-team version: release tags plus new-issue alerts, and one external check per endpoint that matters
- The slow part is the investigation; Fixter does it and hands you the cause and blast radius in your coding agent
Frequently asked questions
How do I find bugs in production before my customers do?
Capture every failed request and unhandled exception at the source with OpenTelemetry, group them into issues so one root cause is one item, and alert the moment a new issue appears, since most new issues follow a deploy. Add uptime checks that hit your endpoints from outside, and roll changes out to a slice of traffic first. Then make the path from the alert to the trace and log line short, so the fix starts before the first support ticket.
What is production error tracking?
Production error tracking is collecting the errors your live application produces for real users, grouping the ones that share a cause into one issue with a count and the users affected, and alerting when a new issue appears or a known one spikes. It differs from reading logs because the grouping and the alerting happen for you, instead of you searching for errors after a complaint.
How do you detect errors in production?
Capture errors at the source by instrumenting your app, usually with OpenTelemetry, which records failed requests and unhandled exceptions. Then track the error rate per important route, alert when it spikes or when a brand-new error appears, and keep a fast path from the alert to the trace and log line that explain it.
What is a good error rate?
There is no universal number; it depends on the route and what users expect. The practical approach from Google's SRE practice is an error budget: pick a reliability target, say 99.9% of requests succeed, and treat the remaining 0.1% as a budget you can spend. You react when you are burning it faster than planned, not to every single error.
Why do production errors go unnoticed?
Usually because they are logged but never read, caught and silently swallowed in code, or do not crash anything (a wrong result returned with a 200). Low-rate errors also hide inside high traffic, and when alerts are noisy the real ones get ignored. None of these show up unless something is watching the error rate and the list of new issues for you.
Do I need canary deploys and synthetic checks as a small team?
You need the outcome, not the full setup. A canary deploy is a staged rollout with the new version's error rate compared against the old one; a small team gets most of that by tagging telemetry with the release version and alerting on new issues after each deploy. A synthetic check is a probe that calls your endpoint from outside on a schedule; that one is cheap and worth having from day one, because it is the only way to learn about downtime before a customer does.
What is the difference between error monitoring and APM?
Error monitoring focuses on failures: what broke, how often, and for whom. APM (application performance monitoring) is broader, covering latency, traffic, and saturation alongside errors. Errors are one of the four golden signals APM watches, so error monitoring is a focused piece of APM, not a separate discipline.
Sources (9), all checked October 29, 2026
- IETF RFC 9110, HTTP Semantics, status codes (4xx client error, 5xx server error)
- Google, Site Reliability Engineering, "Monitoring Distributed Systems" (the four golden signals)
- Google, Site Reliability Engineering, "Embracing Risk" (error budgets)
- OpenTelemetry docs, traces (span status Unset, Error, Ok)
- OpenTelemetry semantic conventions, exceptions (exception.type, exception.message, exception.stacktrace)
- OpenTelemetry semantic conventions, service attributes (service.version)
- Google, The Site Reliability Workbook, "Canarying Releases"
- Fixter docs, issues (grouping, new-issue notifications, email and Slack routing)
- Fixter docs, uptime, API and MCP testing (probes from outside, every 30 seconds at the shortest)