SysArt
Book a briefing
SysArt

On-premises AI

Observability for On-Premises AI: Metrics, Dashboards, and Alerting That Actually Matter

Which metrics, traces, logs and alerts an on-premises AI platform needs, from GPUs and inference engines to answer quality, and how to keep alerts actionable.

Last reviewed by SysArt AI Architecture Team6 min readHow we review

In short

Observability for on-premises AI covers four layers: GPU hardware, the inference engine, the gateway and application, and answer quality with its audit record. Collect GPU telemetry, engine latency and queue metrics, request traces across gateway, retrieval and model, and evaluation results. Then alert only on symptoms users feel or risks that need someone to act.

Key takeaways

  • Start from the four golden signals in Google's SRE book, latency, traffic, errors and saturation, and add answer quality as a fifth.
  • NVIDIA DCGM Exporter publishes GPU telemetry in Prometheus format; engines such as vLLM expose time to first token, queue length, KV cache usage and preemptions.
  • GPU utilisation only shows whether a kernel was running. Judge saturation by queues, cache usage and latency.
  • Trace each request across gateway, retrieval, model and tools, and record the model, prompt and index versions that produced each answer.
  • Every page must be actionable. Log prompts and outputs only where policy allows, with restricted access and a set retention period.
Monitoring screens displaying data charts and system metrics

Why does AI observability differ from traditional monitoring?

Traditional monitoring tells you whether a service is up and fast. AI observability also has to tell you whether its answers are still right, because a language model can be available, quick and confidently wrong at the same time.

An on-premises AI system can show green on every infrastructure metric while retrieval returns stale documents, a new prompt template breaks citations or a model update changes behaviour. Detecting that requires treating answer quality as a monitored signal next to latency and errors.

On-premises, the team also owns every layer, from GPU drivers to the audit log. No managed service absorbs part of the monitoring, so the design has to cover hardware, serving, applications and governance from the start. If you would rather not run this yourself, private AI hosting puts monitoring, incident handling and audit evidence with an operator.

Which layers and metrics should you monitor?

Start with the four golden signals from Google’s SRE book, latency, traffic, errors and saturation, and apply them at each layer. Then add quality.

LayerWhat to measureWhere it comes from
GPU hardwareMemory used and free, temperature, power, XID errors, PCIe retries, NVLink bandwidth, remapped memory rowsNVIDIA DCGM Exporter, in Prometheus format
Inference engineTime to first token, inter-token latency, end-to-end latency, running and waiting requests, KV cache usage, preemptions, prompt and generation tokensThe engine’s metrics endpoint, such as vLLM’s /metrics
Gateway and applicationRequests, tokens, errors and quota or guardrail rejections per consumer; retrieval latency; tool-call failuresGateway and application metrics, plus traces
Quality and governanceEvaluation scores, user feedback, escalations, refusals, citation checks; who used which model versionEvaluation pipeline, feedback events, audit log

For vLLM, the relevant metrics include vllm:time_to_first_token_seconds, vllm:inter_token_latency_seconds, vllm:e2e_request_latency_seconds, vllm:num_requests_running, vllm:num_requests_waiting, vllm:kv_cache_usage_perc, vllm:num_preemptions and the prefix cache hit and query counters. Our explainer on LLM inference serving explains what these latencies mean for users.

How do you judge whether the GPUs are saturated?

Look at queues, cache and latency, not at GPU utilisation alone. nvidia-smi defines GPU utilisation as the percentage of time in which one or more kernels were executing on the GPU. A GPU that runs even one small kernel throughout the sample period reports 100%, so the number says little about how much capacity is left.

Better saturation signals for LLM serving are:

  • a waiting queue that grows during peaks and does not drain;
  • KV cache usage close to its ceiling together with preemptions, which means memory limits concurrency;
  • time to first token rising while inter-token latency stays stable, which usually means queueing.

DCGM Exporter’s profiling counters, such as the ratio of cycles in which the tensor pipe is active, give a fuller picture of how hard the GPU works than the utilisation figure. When saturation persists, it is a capacity question: our post on GPU memory and KV cache optimisation covers the tuning options, and the LLM GPU sizing calculator estimates the memory you need.

How do you monitor answer quality?

Combine offline evaluation with production signals, and compare both against your own baseline.

  • Evaluation sets. Run a fixed set of representative, ambiguous and adversarial questions against every release, and on a schedule against production. Our post on automated model evaluation pipelines covers how to build them.
  • Sampled human review. Have domain experts rate a regular sample of real answers. If you use a judge model to score answers at scale, check its ratings against human ratings first.
  • User signals. Track explicit feedback, escalations to humans, refusals and abandoned sessions.
  • Distribution shifts. A sudden change in output length, refusal rate or retrieval scores often means something changed in the model, the prompts or the data.

For retrieval-augmented generation, similarity scores only mean something relative to the embedding model that produced them, so re-baseline after re-indexing or changing the embedding model. Track queries that return no results and answers whose citations do not support them. Our post on RAG evaluation on-premises goes further.

How do you trace a single request end to end?

Give every request an identifier at the gateway and carry it through retrieval, the model server and any tool calls, so one slow or wrong answer can be followed through every component.

OpenTelemetry is the common standard for traces, metrics and logs across services. Its semantic conventions for generative AI, marked as in development, define measurements such as gen_ai.server.time_to_first_token, gen_ai.server.time_per_output_token and gen_ai.client.operation.duration, which lets traces from different components line up. Pin the version you adopt.

Each trace should also record the versions that produced the answer: model, system prompt, retrieval index, guardrail configuration and routing rule. Without them you cannot reproduce a reported problem or show what changed. The observability layer of our on-premises AI reference architecture shows how the components report to one stack.

Which dashboards does an operations team need?

Three views cover most needs:

  • Operator view: is anything broken now? Request and error rates, latency percentiles, queue length, cache usage and GPU health for every node, plus active alerts.
  • Trend view: where is the platform heading? Weekly capacity, quality and cost trends, used to plan scaling and spot slow degradation before users notice it.
  • Debug view: why did this request fail? Traces and logs for a single request, reachable from a request identifier that support staff can find.

Run the monitoring stack on separate nodes from the inference workloads, so it keeps working when a GPU node fails and does not compete with inference for resources.

How do you design alerts that people act on?

Follow two rules from Google’s SRE book: every page should be actionable, and it is better to catch symptoms that users feel than every possible cause. Use percentiles rather than averages, because tail latency is what users notice.

  • Page someone for user-visible failure: the service is down, error rates or latency breach the agreed objective, or GPU errors take capacity offline.
  • Open a ticket for problems that need action within working hours: sustained cache saturation, slowly rising latency, a drop in evaluation scores or a certificate close to expiry.
  • Report trends for the weekly review: capacity growth, cost per team and quality trends.

Give every alert an owner and a runbook that says what to check first and when to escalate. If the honest response to an alert is “we will keep an eye on it”, turn it into a dashboard panel instead.

What should you log, and for how long?

Log structured metadata for every request and content only where policy allows. Metadata includes request and user identifiers, model and prompt versions, timings, token counts, policy decisions and errors.

Prompts and responses can contain personal or confidential data. Decide with your data protection officer whether to store them, mask them or sample them, restrict who can read them, and set a retention period. If a system is high-risk under the EU AI Act, its deployer must keep the logs the system generates automatically for at least six months, unless other law says otherwise; our guide to high-risk AI systems explains when those obligations apply. Design the log store so that both retention and deletion can be shown to an auditor.

Featured image by Sajad Nori on Unsplash.

Frequently asked questions

What should you monitor in an on-premises LLM platform?

Monitor four layers. GPU hardware: memory, temperature, power and errors. The inference engine: time to first token, inter-token latency, waiting requests, KV cache usage and preemptions. The gateway and application: requests, tokens, errors and rejections per consumer, plus retrieval and tool calls. Answer quality: evaluation scores, user feedback and escalations. Tie them together with a request identifier.

Is GPU utilisation a good measure of load for LLM serving?

Not on its own. nvidia-smi defines GPU utilisation as the percentage of time in which one or more kernels were executing, so a busy-looking GPU may still have spare capacity, and requests can queue while it looks idle. For LLM serving, the waiting queue, KV cache usage, preemptions and latency percentiles show saturation far more directly.

How do you detect when an AI model starts giving worse answers?

Run a fixed evaluation set against every release and on a schedule, sample production answers for human review, and track user feedback, escalations, refusals and citation failures over time. Compare against your own baseline rather than fixed thresholds. Changes in output length, retrieval scores or refusal rates are useful early signals that something in the model, prompts or data has changed.

Should you log prompts and responses?

Log structured metadata for every request, such as identifiers, versions, timings and policy decisions. Log prompt and response content only where your policy allows it, because it can contain personal or confidential data; restrict access and set a retention period with your data protection officer. Deployers of high-risk AI systems must keep the system's automatic logs for at least six months.

Which open standards help with AI tracing?

OpenTelemetry is the common choice for traces, metrics and logs across services. Its generative AI semantic conventions, still marked as in development, define names for measurements such as time to first token and time per output token, so traces from the gateway, retrieval service and model server can be read together. Pin the convention version you use, because it may change.

Related insights

Plan your private AI with people who build it

Book a briefing. We look at your use case, data and constraints, and you leave with the deployment options and governance steps that fit.