SprintMeUp

Monitoring AI

How do we stay in control after launch? A service can be fast, available and wrong. Watching it means reading several kinds of evidence, each with someone who acts on it.

Five kinds of signals

Is it runningNumber of requests, errors and response time, step by step. Alerts on errors and slowness, so an outage is short.
What it costsTokens and cost per request and per accepted result, against the budget and the alert threshold. FinOps
Is the answer goodQuestions left unanswered, answers off the topic or without a source, out-of-date sources, what users say, how much reviewers correct.
Is it being attackedAttempts to give the AI orders through the text it reads, personal data appearing where it should not, unusual use. Security
Is the work doneTasks completed and accepted, cases still open and how old they are, time to a final answer, complaints.

The signals answer different questions, so read them together. More cases passed to a person can mean the AI correctly knows its limits, or that search has got worse. A lower bill can mean efficiency, or that people stopped trusting it. A steady average can hide a problem in one area.

Follow one request from start to end

One question can set off many steps: a search in your documents, a call to the model, a tool, a formatting step. Recording each step of one request (a trace) shows where the time went, which document was fetched and where an odd answer came from. Keep only what you need: prompts and answers can contain personal data, so remove it where possible, limit who can look and decide how long records are kept.

Rules from the book

  • Every signal has an owner and an action

    Monitor only what supports a decision, with a named person who responds. Data nobody uses adds cost and privacy risk without controlling anything.

  • Missing evidence is not green

    What was not measured is "not assessed". A critical failure triggers the restriction route even when cost and usage look healthy.

  • Watch the joins between controls

    Two controls can each work and still fail together: a rule replaced early, but the saved answers never told. Test what happens when an update is late or lost, not only whether documents have expiry dates.

  • The supplier can change your service

    A new model version, a new processing country or a new default feature can change what you approved without a line of your code changing. Record versions, rerun the tests that matter, and treat missing visibility as a risk of its own.

When something goes wrong

  • Contain

    Restrict the affected part and send people to the alternative, so the right information stays reachable. Keep the rest open only if the evidence shows the failure is bounded.

  • Keep the evidence

    Which request, when, which settings, which source and version, which path produced the answer, whether someone acted on it. Without copying every conversation into an open folder.

  • Reach the people affected

    A corrected answer helps the next user; it does not repair a decision someone already made. Legal and privacy decide whether anything must be reported.

  • Restart only with sign-offs

    The repair confirmed, the security tests rerun, the sources and answer quality checked, and the restart approved by the person entitled to approve it.

Retiring is part of the job

Every review ends in one of four decisions: expand, restrict, change or retire. Retiring well means switching off model calls, scheduled jobs and keys that are no longer needed, checking cancellations and the next invoice, applying the deletion rules to stored answers and supplier-held data, and fixing help pages and saved links so nobody lands on a dead end.

On my own projects

HINT 365
Errors are logged in short form, grouped by day, place and version, without any measured values, for 90 days; a report every morning opens a task when there are new errors.
Guardian
Every week it checks the parts each application uses against the public lists of known weak spots.
this site
The model prices are read every morning; if the source returns nothing, yesterday's prices stay and nothing is invented.

Where to read the real thing

measuring risk
NIST AI RMF 1.0: the "measure" and "manage" functions
what to watch
Datadog, "Best Practices for Monitoring, Optimizing, and Securing Your LLM Applications": a supplier's guide, read it as such
From the book. This page summarises chapter 7, "Stay in Control After Launch", and the management dashboard in appendix D of my book AI Adoption: The Real Journey.