Solution Guide

AI observability for ML models, pipelines, and inference in production

12 min read

Your dashboards are reporting 99.9% uptime, latency under 200ms, and zero 5xx errors. In reality, your AI feature has spent three days confidently returning wrong answers, and nothing has alerted, because none of those metrics measure whether the answer was correct. They only measure whether the system that produced it stayed up and responded fast.

This guide covers the three layers where machine learning (ML) systems fail and conventional monitoring does not look: model performance, pipeline health, and inference quality. You get the detection mechanism for each, plus an ordered workflow for debugging a live anomaly. Every step runs on OpManager Nexus, using anomaly detection, adaptive thresholds, smart event correlation, and LLM observability to catch what static monitoring misses.

Why AI observability differs from traditional monitoring

In conventional monitoring, you define what normal looks like, set a threshold, and get alerted the moment you cross it. For deterministic systems, that premise holds. Production AI breaks it in three ways.

  • Outputs are non-deterministic. Two identical inputs can produce different results depending on temperature settings or sampling strategy, so no single response can be judged against a fixed value.
  • Normal is a moving target. Usage patterns shift by hour and by day, and every model version resets what healthy looks like. A number that was right last month describes a system that no longer exists.
  • The signals only make sense together. A latency spike, an upstream data quality issue, and a shift in output distribution can all trace back to one root cause, but only if you read them as a set.

Monitoring model performance with anomaly detection

Start with signals like response time, CPU, and memory. A monitoring platform can watch these without knowing anything about what the model actually does, which makes them the easiest layer to instrument.

Zia's anomaly engine builds a per-metric baseline for each monitored attribute using Robust Principal Component Analysis (RPCA) and matrix sketching, and the two are not interchangeable. RPCA handles univariate monitors, where a single attribute such as response time carries the signal. Matrix sketching handles agent-based monitors that track several correlated attributes together.

Metrics are collected every 15 minutes, and each reading is compared against the 95th percentile of the trailing two weeks for the same day and hour. Dropping the top 5% before training keeps an isolated spike out of the definition of normal, and comparing hour-for-hour against the same weekday means recurring weekly patterns are already priced in. Because every attribute carries its own baseline, what reads as normal on one endpoint can read as an anomaly on another.

From the OpManager Nexus console, Home > Anomaly Dashboard is the central view. The Anomaly Summary Graph gives you anomaly counts across a selected time range, with per-incident detail in the Anomaly History beside it. The Time Series Graph plots an individual attribute across the incident window and shows when the deviation began and how it developed.

Detecting drift and recalibrating baselines automatically

Anomaly detection flags a metric that strays from its baseline. Drift doesn't work that way. The model's accuracy can decline while everything you're watching stays completely normal, so anomaly detection has nothing to flag. And "drift" itself splits into two distinct failure modes, covered separately below.

"Data drift" occurs when the distribution of inputs to your model shifts from what it saw during training. A fraud detection model trained on transaction patterns from Q1 will see a different input distribution during peak retail season and may perform poorly without any obvious infrastructure signal. "Concept drift" involves the statistical relationship between inputs and the correct output changing over time and predictions gradually losing accuracy even when the inputs look entirely normal.

Adaptive thresholds keep the baseline itself from going stale, recalculating it hourly using machine learning-based predictive algorithms on each monitor's accumulated performance data, separate from the anomaly engine described above. A 40% jump in inference latency on a Monday morning after a weekend deployment reads differently than a 40% jump at midnight on a Wednesday, and the platform treats them differently. Engineers stop updating threshold profiles by hand every time traffic patterns change or a new model version ships.

The model needs a minimum of fourteen days of performance data before it engages, which leaves a new endpoint without an adaptive baseline during exactly the window where it is most likely to misbehave. You'll need to cover that window with static thresholds or manual review.

Pipeline health and smart event correlation

Adaptive baselines catch a model drifting, but they stop short of explaining why. A degraded model almost never fails in isolation, and the upstream data pipeline is a frequent culprit. Corrupted feature vectors, delayed batch jobs, schema changes in source data, or a failed ETL step can all deliver inputs the model was never designed to handle.

Watching the pipeline for those failures is straightforward. The harder problem is that one failure triggers several alarms, and they don't arrive in the order things actually broke. A stalled batch job degrades the model, which slows downstream services, and each stage fires its own alarm as it notices the trouble, in whatever order that happens to be. The engineer on call sees three or four disconnected alerts instead of one clear chain, with nothing to show they're related.

OpManager Nexus's Smart event correlation groups related alarms by context and dependency, then surfaces the probable root cause with its downstream alerts attached. A failed data ingestion job, the model degradation that follows it, and the user-facing latency that follows that arrive as one causal chain instead of three unrelated pages. A correlated event can also trigger automated workflows directly, such as a restart, a rollback, or a notification to the owning team, without waiting for manual intervention.

Correlation is only as good as the dependency map beneath it. Application discovery and dependency mapping (ADDM) builds that map automatically, recording how applications, hosts, and network paths connect, so alarms group along real structural dependencies rather than coincidental timing. A second pass groups alarms that have historically fired together, which catches relationships that the topology never expressed, such as a feature-engineering job that only fails when a shared warehouse is busy. ADDM depends on the Full-Stack Agent and APM Insight agent being in place.

Smart groups solve the membership problem underneath all of this. Define a group by criteria instead of by listing instances, and any newly discovered device matching those criteria joins automatically, so an inference tier that scales in and out stays a single monitored unit instead of a stream of unrecognized hosts. Correlation then runs the same way across cloud and on-premises environments, which is what you need when the feature store sits on-prem and the model serves from the cloud.

Inference monitoring and LLM-powered diagnostics

Latency and throughput are metrics most monitoring platforms already track. Output quality isn't, because nothing about a fast, well-formed response tells you whether its content is correct. An LLM that returns quickly but produces a hallucinated diagnosis passes every infrastructure check there is. Correlation will tell you what broke upstream. Whether the answer was any good is a separate question, and it needs its own instrumentation.

OpManager Nexus integrates natively with OpenAI, DeepSeek, and Ollama. When an anomaly fires, the connected model generates a plain-language fault summary alongside the raw telemetry. That summary covers probable causes, recommended fixes, and a consolidated overview of active alarms for the affected device group. Organizations with strict data residency requirements can use the Ollama integration, which connects to a locally hosted model through an open-source runtime and keeps telemetry out of a third-party model provider's infrastructure. That control comes at a cost. You're responsible for the inference capacity and keeping the model updated yourself, work a hosted provider would otherwise handle.

LLM observability: monitoring the models your team runs in production

Infrastructure staying green doesn't mean your LLMs are behaving. A model can return responses quickly and still be producing wrong answers, burning through token budgets, or degrading silently across thousands of requests.

OpManager Nexus tracks latency, token usage, cost per request, and error rates across every LLM in production from a single dashboard, covering OpenAI, Anthropic, and models via AWS Bedrock. The Prompt Analysis view logs every individual call with its input, output, token breakdown, cost, and latency, so you can trace a cost spike or quality issue to the exact request that caused it. LLM logs are fully queryable by model, token count, timestamp, or message content, with a visual event chart showing request volume over time.

The LLM integrations above are one direction of data flow. They take telemetry and push a summary out to you. In the opposite direction, a Model Context Protocol (MCP) server exposes the platform as a queryable data source, so an external agent can pull device inventory, live metrics, and alarm state mid-incident instead of waiting for a human to fetch them.

Both of those directions still put a human in the loop. Zia, the platform's built-in assistant, removes a step by answering questions against your own monitoring data directly: which monitors are noisiest, which alarms keep recurring, what a given outage correlates with. It also generates plugin and automation scripts from a plain-language description, which is how a one-off diagnostic check for a model endpoint gets written without leaving the console.

Zia agents take the next step and act. When an alert fires, an agent pulls together the causal path, the alarm detail, and the active problems. It then executes a fix inside boundaries you define, while a separate agent documents what it did. Underneath, the execution layer is workflow automation, which is a no-code builder where an alert or a schedule triggers conditional logic, API calls, and built-in actions against servers, Kubernetes, and the major cloud providers. For an ML stack, that's the difference between waking someone up because a feature pipeline stalled and simply finding the retry, the cache flush, and the postmortem note already done. Every action gets logged, which you'll be grateful for the first time an agent restarts the wrong service.

Telemetry from model inference and the data pipeline flows through anomaly detection, adaptive thresholds, and Zia-based forecasting, then into ADDM-backed event correlation that drives AI fault summaries, Zia agents, and automated remediation workflows.

AIOps architecture: telemetry feeds anomaly detection and adaptive thresholds into smart event correlation, triggering Zia Agents, workflow automation, and automated remediation.

A debugging workflow you can run today

This workflow uses tooling that ships with OpManager Nexus, and two things have to be switched on first. Anomaly detection is configured under Admin > Configuration Profiles > Anomaly Settings, where you set the deviation percentage that qualifies as Info, Likely, and Confirmed for the monitors you care about. Forecasting is enabled per monitor under Admin > Configuration Profile, by opening the threshold profile and adding a Zia Forecast Threshold for the attribute you want projected. Neither is on by default.

  1. Step 1: Identify the deviation and its start time

    Open Home > Anomaly Dashboard. Filter by the affected monitor or monitor group and set the time range to cover the suspected incident window. Take the timestamp of the first deviation from the Anomaly Summary Graph and the affected metric from the Anomaly History beside it. That timestamp anchors everything that follows.

  2. Click into the deviating metric to open the Time Series Graph, then inspect its behavior against the other attributes on the same monitor at that timestamp. A response time deviation that lines up with a memory climb points somewhere different than one that moves alone. Read the percentage deviation from baseline to judge whether this is a single spike or a sustained shift.

  3. Step 3: Check correlated events to identify the source

    Move to the correlated events view for the affected alarm and read the clustered timeline. Determine whether the deviation maps to a pipeline stage failure, an infrastructure change such as a deployment or capacity scaling, or a model update.

  4. Step 4: Review the forecast to assess trajectory

    Zia-based Forecast applies machine learning to a monitor's own history and projects where an attribute is heading, covering CPU utilization, memory utilization, disk usage, and network throughput across server, VM, network, and cloud monitors. It needs at least five continuous data points before it will run, and it draws the projection as a dotted extension of the live line, so the trend and the prediction read on one chart. Platform-level forecasting extends the same idea out to 90 days for capacity planning. A metric heading away from its threshold buys you time to investigate without an emergency response. One heading toward it gives you a deadline.

  5. Step 5: Remediate, then confirm recovery

    Check whether an automated remediation workflow exists for the affected resource and verify it has triggered, and initiate the manual response if none is configured. Then watch the Time Series Graph. The incident is resolved once readings hold inside the expected baseline range and no new anomalies fire for that metric.

Covering all three layers

Instrument only model performance, pipeline health, or inference quality on their own, and the other two can fail without you knowing. Healthy model performance metrics don't tell you the pipeline upstream is feeding it corrupted features, and neither one tells you whether the answer that came out the other end was actually correct.

A failed upstream job, a drifting output distribution, and an inference latency spike are usually one incident, not three. Reading them together is what surfaces the root cause, and it's what turns a green dashboard from a reassurance into an accurate signal.

See how OpManager Nexus handles anomaly detection, adaptive thresholds, event correlation, and LLM observability where a 30-day free trial is available.

Get started with
OpManager Nexus

Start your free 30-day trial of OpManager Nexus and centralize observability for distributed environments.

Start your free trial