Skip to main content
Success story · 2025

SLO

An infrastructure monitoring platform had 8 years of code nobody dared touch. Phased modernization let them ship faster without breaking their uptime SLA.

Product
Infrastructure monitoring
Customers
300+ enterprise
Uptime SLA
99.95%
Codebase
8 years, 200K lines
Engagement
6 months, phased
“Refactoring used to be risky for us. Codivox made it safe, measurable, and performance-positive.”
Marcus ChenMarcus ChenEngineering Lead, SLO
Chapter 1 of 3

The codebase everyone was afraid to change

Marcus Chen, SLO's Engineering Lead, showed us a Slack thread that had become infamous inside the company.

Every time we touch it, something breaks in production. So we just... stopped touching it.”
Marcus Chen
Slack thread

Can we upgrade Node.js?

  • 47 replies
  • 6 months

Answer so far

Maybe.

Where it hurt

test coverage on critical modules
40%
of engineering time spent on incidents
35%
security patches postponed
14
of outage from one routine upgrade
4 hours

What we changed

  1. 01Risk map first12 modules caused 80% of incidents
  2. 02Characterization testsTest what the code does, then refactor
  3. 03Guarded slicesAny change reverted in under 60 seconds
  4. 04Incident ownershipAn owner in 15 minutes, a postmortem in 48 hours
Read the full chapterthe client's account, every challenge and step

Subject: 'Can we upgrade Node.js?' The thread had 47 replies spanning 6 months, and the answer was still 'maybe.' Not because the team was incompetent - they were excellent engineers. But because the core monitoring service was a 200K-line monolith written by 15 different developers over 8 years, with test coverage hovering around 40% and a reputation for mysterious side effects. "Every time we touch it," Marcus told us, "something breaks in production. So we just... stopped touching it."

SLO provided real-time infrastructure monitoring for 300+ enterprise customers, many with a contractual 99.95% uptime SLA (a promise that the service stays up 99.95% of the time). The platform worked - mostly. But underneath, the codebase was a minefield. Critical services mixed three coding patterns. Tests were thin and brittle. Nobody could answer 'what will break if we change this?' with any confidence. So dependency upgrades never happened, security patches took weeks to deploy, and every new feature needed a heroic work-around to avoid touching legacy code. Meanwhile, competitors with modern stacks were shipping faster. The moment of truth: in January 2025, their security team flagged a critical vulnerability in an outdated dependency. The fix was simple - but it required touching the auth module. Six weeks later, the patch still wasn't deployed because nobody was confident it wouldn't break authentication for 300 enterprise customers. Marcus knew they couldn't keep operating this way.

Challenge

  • Critical modules had 40% test coverage with tests that passed even when the code was broken - engineers had zero confidence in the test suite.
  • A routine dependency upgrade in Q3 2024 caused a 4-hour outage affecting 80 customers because of an undocumented side effect in the alerting pipeline.
  • Incident response consumed 35% of engineering capacity - the team spent more time firefighting than building.
  • The company had postponed 14 security patches because 'we're not sure what will break' - a growing compliance risk.

Approach

  1. Started with a 'risk map' of the entire codebase using git history, production incident logs, and engineer interviews - we identified the 12 modules that caused 80% of incidents and focused there first.
  2. Backfilled tests using a 'characterization testing' approach: instead of testing what the code should do, we tested what it actually does, then refactored with confidence that behavior wouldn't change.
  3. Split large refactors into 'guarded slices' with feature flags and rollback checkpoints - every change could be reverted in under 60 seconds if metrics degraded.
  4. Defined incident ownership with explicit SLAs: every incident got an owner within 15 minutes, a postmortem within 48 hours, and action items linked to sprint planning with due dates.
Chapter 2 of 3

The alert that cried wolf (and how we fixed it)

At 2:47am on a Tuesday, the on-call engineer got paged.

Half our alerts are noise. The other half don't tell us what's actually broken.”
SLO on-call engineer
On-call page2:47am

High API latency detected

  1. 2:47Paged. The dashboard shows a spike
  2. 20 minutes digging through logs
  3. False alarm: one slow customer query
  4. 3:15Back in bed, too frustrated to sleep

This happened 3-4 times per week

Where it hurt

of pages were false positives or low severity
60%
of critical request paths had tracing
40%
median time to triage an incident
79 min
services to search by hand for a root cause
12

What we changed

  1. 01Alert on user impactAlert volume fell 60%
  2. 02Error budgetsA health score for every service
  3. 03End-to-end tracingTop 20 paths, 95% of customer traffic
  4. 04Postmortems into sprintsAction items completed: 40% to 85%
Read the full chapterthe client's account, every challenge and step

At 2:47am on a Tuesday, the on-call engineer got paged: 'High API latency detected.' She opened the dashboard, saw a spike, then spent 20 minutes digging through logs before realizing it was a false alarm - a single slow customer query, not a systemic issue. By 3:15am she was back in bed, but too frustrated to sleep. "This happens 3-4 times per week," she told us the next day. "Half our alerts are noise. The other half don't tell us what's actually broken." The team could detect incidents, but they couldn't diagnose them - and that was costing them hours per incident.

SLO's platform was built to monitor other companies' infrastructure, but ironically, their own observability (visibility into what their system was doing) was a mess. They had alerts - lots of them. But alert volume had grown organically over 8 years without a coherent strategy. Some alerts fired on symptoms, such as high latency. Others fired on causes, such as a full database connection pool. And many fired on conditions that didn't affect users at all. Meanwhile, distributed traces were incomplete, so when something did break, engineers had to manually correlate logs across 12 services to find the root cause. Median time to triage an incident: 79 minutes. For a company selling uptime, that was embarrassing.

Challenge

  • Alert noise: 60% of pages were false positives or low-severity issues that didn't require immediate action - on-call engineers were burning out.
  • Incomplete traces: only 40% of critical request paths had end-to-end tracing, so root cause analysis was manual detective work.
  • Inconsistent postmortems: some teams wrote detailed postmortems with action items, others wrote 'fixed it' and moved on - no organizational learning.
  • No visibility into change risk: engineers deployed code with fingers crossed, hoping metrics wouldn't degrade.

Approach

  1. Rebuilt the alerting strategy around user impact. Alerts fired only when customers were affected, not when an internal metric looked unusual. Alert volume fell 60%, and real incidents were detected sooner.
  2. Built service-level dashboards tied to error budgets (how much downtime each service can afford). Every service got a clear 'health score' based on customer-facing metrics, not internal implementation details.
  3. Added end-to-end distributed tracing for the top 20 transaction paths (covering 95% of customer traffic) - root cause analysis went from 'grep through logs' to 'click on the slow span.'
  4. Linked postmortem action items directly to sprint planning with explicit owners and due dates - no more 'we should fix this someday' without accountability.

What changed

  • Mean time to triage dropped from 79 minutes to 49 minutes - engineers spent less time investigating and more time fixing.
  • Postmortem action item completion rate went from 40% to 85% - the team stopped repeating the same incidents.
  • "For the first time, we can deploy on Friday without anxiety. We see exactly what changed and what impact it had." - Engineering Manager
  • The skeptic's transformation: A senior engineer who'd said 'We've tried to improve test coverage before and failed' became the team's testing advocate after seeing characterization tests catch 3 critical bugs before they hit production. His quote: 'I didn't believe tests could work for legacy code. I was wrong.'
I used to dread on-call. Now I actually sleep through most nights because the alerts that wake me up are real problems I can fix.”
Senior SRE
The product

The incident console, up close

Three parts of the screen above, closer in.

Incident queueNew, investigating, mitigated. Every card carries a priority, a service and a named owner.
Service healthThe SLO score, beside open incidents, MTTR and pages sent.
On-call and activityWho is on call this week, and each step from acknowledged to postmortem.
Chapter 3 of 3

What 6 months of careful modernization delivered

The transformation wasn't dramatic - it was deliberate.

  • Median incident resolution time

    49min

    38% faster resolution

    Customers experience shorter outages

  • p95 API latency

    445ms

    27% faster response

    Better experience for enterprise customers

  • Release regressions

    11per quarter

    45% reduction

    Deployments are safer and more predictable

  • Test coverage (critical paths)

    78%

    Engineers can refactor with confidence instead of fear

Read the full chapterthe client's account, every challenge and step

No big-bang rewrites, no risky migrations, just steady progress on the things that mattered: test coverage, observability, and team confidence. The result? SLO didn't just modernize their codebase - they modernized how they work.

"We're not done modernizing - but we're no longer afraid to start. That mindset shift is worth more than any single technical improvement." - Marcus Chen. The company now ships features at competitive speed, maintains their 99.95% uptime promise, and engineers no longer treat the codebase like a haunted house. The ripple effect: with more trust in the codebase, SLO could finally take on the features they had put off for 2 years. That included a major API redesign, which became their biggest differentiator in enterprise deals.

Before and after

  • Median incident resolution time: 79 min to 49 min. 38% faster resolution - customers experience shorter outages
  • p95 API latency: 610 ms to 445 ms. 27% faster response - better experience for enterprise customers
  • Release regressions: 20 per quarter to 11 per quarter. 45% reduction - deployments are safer and more predictable
  • Test coverage (critical paths): 40% to 78%. Engineers can refactor with confidence instead of fear
We're not done modernizing - but we're no longer afraid to start. That mindset shift is worth more than any single technical improvement.”
Marcus ChenMarcus ChenEngineering Lead, SLO

Tell us about your project

Tell us what you're building, when you need it, and what's in the way. A senior engineer will reply within one business day with honest next steps, even if that means we're not the right fit.

  • Your project is led by a senior engineer, not a junior and not AI on its own
  • AI speeds up the build. Every change is reviewed and tested before it ships
  • Best for MVPs, SaaS products, automation, and fixing apps that keep breaking