Observability

Monitoring a Self-Hosted LLM Stack: vLLM, Phoenix, and Grafana Measurements

Monitoring a Self-Hosted LLM Stack: vLLM, Phoenix, and Grafana Measurements

9 min read

Running a self-hosted LLM stack produces signals on several axes at once — serving health, per-tenant token consumption, response quality, and full request traces. Classic web monitoring does not capture most of them. Tokens, batching, KV cache pressure, queue dynamics, inter-token latency, and trace spans all need their own measurement.

This post is a practical guide to monitoring a self-hosted LLM inference stack. It covers what to measure at each layer (vLLM serving, AI Gateway access, Phoenix tracing and evaluation), which PromQL queries turn raw metrics into dashboards, how KEDA autoscaling consumes the signals, and which SLOs and alerts belong on the platform. The examples assume two NVIDIA DGX Spark units running vLLM, but the metrics and queries apply to any vLLM-based stack.

AI Assistant Architecture: LLM, Memory, Tools, Routing, Observability

AI Assistant Architecture: LLM, Memory, Tools, Routing, Observability

4 min read

A production assistant isn’t “an LLM with a prompt.” It’s a runtime turning intent into responses and actions through five layers: model, memory, tooling, routing, observability. That split matches provider APIs, MCP, self-hosted runtimes, and real systems alike — and every production disagreement eventually reduces to which context was visible, which tool executed, which model answered, which memory changed, and where the trace says time went.