Most of the work on an LLM feature happens before launch: you write the prompt, build an eval set, and handle failures. Then it ships, and the feedback you got during development mostly stops. Users don't file bug reports when a summary is a bit off. They just stop tapping the button.

This post covers a lightweight setup for watching an LLM feature once it's live. It assumes a small team and a server or proxy that sits between the app and the model provider. It doesn't assume a dedicated observability vendor. The aim is to notice quality problems within days, not months, and to turn what you find into fixes.

Why normal monitoring isn't enough

Crash reporting and uptime checks catch failures that make noise. LLM features also fail quietly. The request returns 200, the JSON parses and the UI renders, but the output is wrong, generic, too long or slightly off-topic. None of your existing dashboards will show that.

So you need three kinds of signal:

  • Operational: latency, errors, timeouts, token usage. Your existing tools can mostly handle these.
  • Behavioral: what users do after they see the output. Do they accept it, edit it, retry or abandon it?
  • Content: what the model actually said. This needs a person, or an automated check, to look at real outputs.

Step 1: Log one structured record per call

Write one record for every model call. Do it in your proxy or backend, not on the device, so the format stays consistent and you can change it without shipping an app update. If you already route calls through a proxy as described in A Thin Proxy Between Your App and the LLM API, that's the natural place to add it.

{
  "call_id": "c_7f3a...",
  "ts": "2026-11-23T09:14:02Z",
  "feature": "note_summary",
  "prompt_version": "summary-v6",
  "model": "provider-model-id",
  "app_version": "2.4.1",
  "input_tokens": 812,
  "output_tokens": 143,
  "latency_ms": 2310,
  "outcome": "ok",
  "validation": "passed",
  "retries": 0,
  "user_bucket": "h_91c2"
}

Some notes on the fields:

  • prompt_version and model are the most important fields. Without them, you can't tell whether a quality drop came from your change, a provider change or a different mix of user input.
  • outcome should be a small set of values, such as ok, timeout, provider_error, refused, invalid_output and cancelled. Free-text error messages are hard to group, so put those in a separate field.
  • validation records whether the output passed your schema and sanity checks. A rising failure rate here is often the first sign of trouble.
  • user_bucket is a salted hash. You don't need a user ID. It lets you tell whether failures are spread across many people or come from one person hitting the same edge case.

Prompts and outputs: log less than you want to

You'll want to log the full input and output of every call. Don't do that by default. User text can contain anything, and anything you store has to be protected and deleted on schedule. A safer default:

  • Store metadata for every call.
  • Store full text only for a sample of calls, only where your privacy policy and consent flow allow it, with a short retention period such as a few weeks.
  • Always store full text for calls the user explicitly flagged, if the flagging UI says that the content will be shared.
  • Strip obvious identifiers before storage, such as emails, phone numbers and long digit strings.

A Privacy Checklist for Shipping AI Features in a Small App covers the disclosure side. The practical point here is to make sampling a config value, so you can raise it briefly while you investigate a problem and lower it again afterwards.

Step 2: Capture what users do next

Behavioral signals are the cheapest way to measure quality at scale because users generate them without being asked. Add a few events that refer back to the call_id:

  • accepted: the user kept, inserted or used the output.
  • edited: the user changed it before using it. If you can, record how much changed, for example the edit distance as a fraction of the output length, rather than the edited text itself.
  • regenerated: the user asked for another attempt.
  • dismissed: the user closed the result without using it.
  • abandoned: the user left before the response finished.

None of these is a perfect quality signal. A dismissal might just mean the user was curious. But when you compare prompt or model versions, the change in these rates tells you a lot. If the regenerate rate on summary-v6 is clearly higher than on summary-v5, look into it before you do anything else.

Explicit feedback, kept small

A thumbs up and thumbs down control is fine. Make the thumbs-down useful by offering two or three reasons that match how your feature actually fails, such as "wrong", "too long" and "missed the point", plus an optional text field. Generic reason lists give you generic data. Ask only after the user has interacted with the output, and never block the flow with the prompt.

Step 3: Add cheap automated checks on live traffic

Some problems can be caught by code on every response, before a person ever reviews it. Run these in the proxy after the model responds, and log the results instead of blocking on them, unless a check guards against something harmful.

  • Length bounds: flag outputs that are much shorter or longer than your eval set's normal range.
  • Language match: flag outputs whose language differs from the input's, using a small language-detection library.
  • Leakage: flag outputs that contain fragments of your system prompt or internal instructions.
  • Boilerplate: flag known filler patterns such as apologies, "As an AI" disclaimers or a restated question.
  • Grounding, where it applies: for features that summarize or extract, check that names, numbers and dates in the output appear in the input.
def flags_for(inp: str, out: str, limits) -> list[str]:
    f = []
    if not limits.min_len <= len(out) <= limits.max_len:
        f.append('length')
    if detect_lang(out) != detect_lang(inp):
        f.append('language')
    if any(tok in out for tok in SYSTEM_PROMPT_MARKERS):
        f.append('leak')
    nums_out = set(re.findall(r'\d+(?:[.,]\d+)?', out))
    if nums_out - set(re.findall(r'\d+(?:[.,]\d+)?', inp)):
        f.append('ungrounded_number')
    return f

Store the flags on the call record. Each flag is a count you can track over time, and each flagged call is a candidate for review.

Step 4: Build a small dashboard

You don't need a big observability product. A SQL query over your logs, or a notebook you run once a week, is enough at first. Break each metric down by feature, prompt_version and model:

  1. Call volume and the outcome breakdown.
  2. Median and slow-tail latency, for example p50 and p95.
  3. Validation failure rate.
  4. Automated flag rates, one line per flag.
  5. Accept, edit, regenerate and dismiss rates.
  6. Thumbs-down rate and the top reasons.

Set alerts only for problems that need action within hours: error rate spikes, validation failures above a threshold, or any leak flag. Everything else can wait for the weekly review. If an alert fires and nobody acts on it, users won't notice, but you'll start ignoring your alerts.

Step 5: Run a weekly review

This step is where the setup pays off. Block out about an hour each week and follow the same routine:

  1. Scan the dashboard for changes since last week, especially around any release.
  2. Read about 20 sampled outputs: some random ones, some flagged ones and every thumbs-down that includes text. Read the input and output together.
  3. Label each one with a short failure tag you reuse, such as too_generic, ignored_instruction, wrong_fact or tone.
  4. Pick the most common tag and decide on one fix: a prompt change, a new validation rule, a UI change or a note that it's acceptable.
  5. Add the worst examples to your eval set, after removing personal details, so the fix is tested and stays fixed.

The last step connects production back to development. Your eval set, built as described in Build a Small Eval Set Before You Ship an LLM Feature, starts from guesses about what users will send. After a few weekly reviews, it reflects what they actually send.

Trade-offs to decide up front

  • Sampling rate against privacy: more stored text makes debugging easier, but it also means more data to protect. Start low, and raise it only for a set period.
  • Server-side against on-device: if part of the feature runs on-device, you can't see its outputs unless you send them somewhere. For those paths, rely on behavioral events and opt-in reports.
  • Automated grading: you can use a second model to score live outputs, but it adds cost and has its own errors. Add it only once you've confirmed by hand that its scores match your judgment on a labeled sample.

Wrapping up

Watching an LLM feature in production doesn't need much infrastructure:

  • one structured record per call, with prompt and model versions on every record
  • a few events for what users do with the output
  • a set of cheap automated checks
  • a short weekly review that turns real failures into eval cases and fixes

Start with the call record and the weekly review. With just those two, you'll find problems you wouldn't have caught otherwise, and over time each prompt change will be based on real usage instead of guesses.