Skip to content
Is there an AI for this?

FDE ACADEMY · MODULE 03 · LESSON 05

Logging, monitoring, and the routine that uses them

What to record and what not to, the five numbers worth watching, and the weekly routine that turns telemetry into something a customer can operate without you.

Effort
Two hours to set up, then a recurring half-hour that is the point.
Skills
mlops · security-hardening · llm-evaluation

Free and self-paced. No certification is offered.

Before you startYou have a deployment with users on it, or a realistic test of one.


01Log the event, be careful with the content

You need to know who asked, when, which documents were retrieved, how long it took and whether it failed. You usually do not need to store the text of the question, and once you do, your logs contain whatever your users typed — which may be personal data, client material, or both, sitting in a system with different retention and access rules from the documents themselves.

Decide this deliberately, write it down, and set a retention period. Prompt content is sometimes genuinely necessary for evaluation; when it is, it should be a decision with a period attached rather than a default nobody chose.

  • Always: identity, timestamp, action, outcome, latency, and which documents were returned.
  • By decision, with a retention period: the prompt and the response.
  • Never: credentials, tokens, or full document contents copied into a log line.

02Five numbers

Latency at the ninety-fifth percentile, because averages hide the experience people complain about. Error rate by kind, separating model errors from ingestion errors. Queue depth or concurrency, so you see the capacity limit from lesson 01 approaching. GPU memory, because the cache term grows with use. And a retrieval quality figure re-run on the same twenty questions from module 02.

The last one is the only one that tells you whether the deployment is still good. The first four tell you whether it is still up, and a system can be up and useless.


03The routine is the deliverable

Telemetry nobody looks at is storage. What you leave behind is a routine: a named owner, a weekly half-hour, a short list of things to check, and a decision about what triggers action. The flagship recipe ends with exactly that step, and it is the one most likely to be skipped because nothing breaks the day you skip it.

Include a review date. Documentation, model choices and regulatory guidance all age, and this site marks its own claims as stale past their review window for the same reason.


04Do this

PRACTICAL TASK

Instrument the deployment and write the operating routine

Produce a one-page operating routine with an owner, a cadence, five numbers, a log retention decision and a review date — and run it once with the customer.

What you need

  • A deployment with real or realistic usage
  • The person who will own it after you leave

Steps

  1. 01

    Follow the recipe’s operating-routine step and use its checks as your starting list.

    Private knowledge base — deployment steps

  2. 02

    Decide what is logged, what is not, and for how long. Write the sentence you would say to a customer’s privacy officer.

  3. 03

    Read the logging and auditability compliance notes on the recipe and check your decision against what they point at.

    Private knowledge base — compliance considerations

  4. 04

    Set up the five numbers so they can be read in under a minute, from wherever the owner will actually look.

  5. 05

    Run the routine once with the owner driving and you watching. Fix whatever they could not do without asking you.

You are done when

  • A one-page routine with a named owner, a cadence, five numbers and a review date.
  • A written log retention decision, including whether prompt content is stored and why.
  • The owner has completed one cycle without you touching the keyboard.

05Where these facts live

This lesson does not restate anything that is already recorded with its evidence elsewhere on the site. These are the pages it leans on.

Ticks are stored in your browser only. They are not sent anywhere, they are not attached to an account, and clearing your browser data removes them.