IT Vizag
← MLOps: Shipping ML Models

▶ Sign up free for the video, slides & prompts

The lesson below is open to all. Enter your email once to unlock every video, slide deck, prompt and code example on this device.

Checking…

MLOps: Shipping ML Models · Lesson 11 of 14 · 2 min read · 5 min video

Monitoring models in production

Track latency, errors and prediction quality once real users arrive.

📄 Download slides (PDF)· free sign-up

Regular software monitoring asks "Is it up? Is it fast?" Model monitoring also asks "Is it still right?" A model can return answers quickly and confidently while being wrong.

Layer 1: Service health

The same as any API:

  • Uptime and error rate (5xx responses)
  • Latency: typical and the slowest 5% (p95)
  • Traffic: requests per minute
  • Resources: CPU, memory and cost

Layer 2: Data and predictions

Watch what goes in and what comes out:

  • Missing values or new categories in the inputs ("Bheemili" never appeared in training)
  • Input distributions moving away from the training data
  • Prediction distribution shifting: suddenly 40% of loans are rejected instead of 15%

Layer 3: Real-world quality

When the true answers arrive, compare them with the predictions:

  • The actual sale price, weeks later
  • Whether a flagged payment really was fraud
  • Whether the customer really did stop ordering

This ground truth is often delayed, so layers 1 and 2 are your early warning.

Logging for monitoring

🔒 Code example: sign up free (above) to unlock it.

Save the request ID, so you can join the prediction with the true outcome later.

Alerts that are worth waking up for

  • Error rate or latency over a threshold
  • A sudden jump in missing or unseen input values
  • Prediction distribution far from normal
  • Accuracy on fresh labelled data below an agreed level

Tools such as Evidently, WhyLabs, Prometheus with Grafana, or your cloud's ML monitoring cover these layers.

Tip: Agree on a "minimum acceptable accuracy" with the business before launch. Then an alert means something.

In one line

Monitor three layers: service health, input and prediction patterns, and real accuracy once true answers arrive, with alerts on the signals that really matter.

Saved on this device. Sign in to keep progress everywhere.

Share with a friend