Build or Buy for Anomaly Detection? Find a Third Route First

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOps School!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Every few months an operations team reaches the same fork: buy a managed anomaly-detection service, or train and run a model in-house. The meeting usually ends with two columns on a whiteboard and a vote. This how-to argues for a different habit. Before the vote, spend one working session looking for a third route, then put all three side by side. For teams working on AIOps anomaly detection, the third route is often the one that quietly wins.

The steps below use a concrete scenario: a platform team that wants earlier warning on slow memory leaks and creeping latency across a few dozen services. Their two obvious options are a hosted detection product and a model built by their own data engineer. Neither is wrong. Both just arrived first.

Step 1: Write both options down as plain sentences

Start by describing each option in one sentence that a new colleague could follow. “We send metrics to a vendor, and it flags unusual behaviour.” “We train a seasonal model on our own history and run it on a schedule.” A sentence that refuses to come out clean is a sign the option is still vague, and that gap is worth discovering before anyone argues for it.

Then note what each option assumes. The hosted service assumes your metrics are tidy enough to ship out. The in-house model assumes someone owns retraining when traffic patterns change. Assumptions are where third options hide, because every assumption can be loosened.

Step 2: Ask what each option is really buying

Detection quality is rarely the whole story. The hosted product buys speed to a first alert and someone else’s maintenance burden. The in-house route buys control over features and the ability to explain a flag to a sceptical on-call engineer. Write the underlying purpose beside each option, in a few words.

Once the purposes are on the page, ask a pointed question: is there a cheaper or smaller way to get either one? If the real goal is “wake us up before the memory leak takes a node down”, maybe neither full option is needed to start.

Step 3: Hunt for the third route on purpose

This is the step most teams skip, so give it a fixed block of time. Three patterns tend to produce candidates.

  • The hybrid. Use plain statistical rules, a moving average plus a fixed ceiling, for example, for the metrics you understand, and reserve the hosted service for the noisy, high-cardinality ones you do not.
  • The delayed start. Wait one planning quarter. In that time the vendor ships features, your data engineer finishes a pending migration, and your own incident history gets richer. Waiting is an option, not a failure to decide.
  • The different route. Redefine the problem. Perhaps the leaks would be caught by a saturation alert and a weekly review of the graphs that already exist, with no detection engine at all.

For our scenario the team lands on a hybrid with a delay built in: rolling-baseline rules on the dozen services they know well, starting immediately, with the managed service revisited next quarter once they have a labelled set of past incidents to test it against.

Be honest about the cost of each candidate in attention rather than money. A hybrid means two systems to understand, which is a real tax on a small team. A delayed start means living with the current blind spot a little longer, so name that risk out loud and agree who accepts it. A redefined problem needs somebody willing to say the original brief was too narrow. Putting these costs in writing keeps the third option from winning merely because it sounds clever.

Step 4: Score all three on the same short list

Now compare the three routes against a handful of questions that were agreed before looking at any option. Cap the list at a length one slide can hold.

  1. How long until the first useful alert reaches a human?
  2. Who is paged when the detector itself misbehaves?
  3. What does the team need to learn that it does not know today?
  4. How hard is it to switch away if the choice disappoints?

Resist the urge to assign decimal scores. Words work better: quick, slow, unclear, painful. A third option frequently shows up as “moderate on everything” while the two originals are extreme on one question and weak on another. That balanced profile is the reason hybrids are common in mature operations.

Step 5: Test the winner against a real incident

Take a past outage and replay it mentally through each route. Would the rolling-baseline rules have fired during the slow leak, and how early? Would the hosted service have flagged it, or buried it among dozens of other deviations? This is a thought exercise rather than a pilot, and it exposes mismatches cheaply. If none of the three would have caught the incident, you have learned that the question was wrong and the real gap sits upstream, perhaps in missing instrumentation.

Teams that have worked on this also tend to find that their alert hygiene shapes the outcome more than the engine does. An article on this very site about cutting down IT event noise with smarter tooling makes a useful companion, because any detector you add will feed the same noisy pipeline.

Step 6: Record the decision and the revisit date

Write a short note: the three routes, the questions, the choice, and a calendar date for the next look. The date matters most when the choice includes a delayed start, since a pause without a date quietly turns into a decision never to revisit. Keep the note where on-call engineers can find it, and mention which assumptions would change your mind.

If you want a reading list for what comes next, the guide on bringing AIOps practices into an IT team step by step covers rollout questions that this exercise deliberately leaves open.

A note on habit, with a detour to Chennai

The same two-versus-three reflex works outside engineering. People planning a weekend in Tamil Nadu often face two itineraries and then find a third by scrolling through a Chennai-focused community site such as ChennaiOrbit and its events section, which treats the city as a place to browse. The lesson transfers: the tab you did not open yet may hold the better plan.

Carrying this into your next planning meeting

Nothing here calls for a bigger meeting or a longer spreadsheet. You need one extra block of time, a rule that no decision gets made until a third option has been written down, and an honest comparison on a short list of questions. Sometimes the third option loses, and that is fine. The first two now lose, or win, with the facts in view. In anomaly detection, where the engine itself is only part of the system, that discipline is cheap insurance against committing early to a path that your own incident history would have questioned.

Related Posts

Eight Vague Phrases in AIOps Tickets and What to Write Instead

Eight fuzzy phrases that creep into AI operations tickets, from “retrain soon” to “fixed, will monitor”, each paired with a specific rewrite you can use today.

Read More

Why AIOps Rollouts Improve When One Teammate Hears the Plan First

AIOps projects stall when the plan lives in one head. Here is how saying the action, boundary and date to a single colleague makes automation safer.

Read More

Set Tripwires Before You Ship a Model to Production

Agree on the warning signs that mean stop and rethink before an AI model goes live. A plain explainer on tripwires, thresholds and rollback responses.

Read More

Silent Onboarding Audit: Watch a Newcomer Set Up AIOps

Hand your AIOps setup guide to someone new, say nothing, and note every pause. A friendly checklist for spotting the gaps your own eyes skip over.

Read More

Why AIOps Teams Keep Rediscovering the Who-to-Call List

Automation can detect and group incidents faster than ever, yet the first human question stays the same: who owns this? A short ownership sheet answers it.

Read More

Reading an Incident Timeline: An AIOps Primer With a Mini-Glossary

A plain primer on laying out an outage in order, with times, before anyone argues about causes, plus a short glossary of the terms you will meet.

Read More
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x