Skip to content

Monitoring & Observability — OTel, Prometheus, vLLM Metrics

OpenTelemetry GenAI semantic conventions are the 2026 standard. vLLM exposes Prometheus metrics at /metrics. A zero-infrastructure local backend: Aspire Dashboard via Docker.

Tool Best for Difficulty Open source Enterprise ready
Ollama Beginners / developers Easy Yes Limited
LM Studio Desktop GUI + model browser Easy No No
vLLM Production inference, multi-GPU Advanced Yes Yes
llama.cpp Maximum efficiency, exotic hardware Advanced Yes Partial
Open WebUI Team chat UI Easy Yes Partial
AnythingLLM RAG / knowledge assistants Easy Yes Partial
LocalAI OpenAI API replacement Medium Yes Partial
LiteLLM Model routing Medium Yes Yes
  • OpenTelemetry GenAI semantic conventions are the 2026 standard. Key attributes: gen_ai.request.model, gen_ai.usage.input_tokens, gen_ai.usage.output_tokens, gen_ai.response.finish_reasons; content attributes (gen_ai.input.messages, gen_ai.system_instructions, tool args/results) are off by default because they can contain sensitive data. Metrics: gen_ai.client.operation.duration (latency histogram, filterable by model) and gen_ai.client.token.usage (histogram, filterable by gen_ai.token.type).
  • Instrumentation exists for VS Code Copilot, OpenAI Codex and Claude Code (traces/metrics/log events), plus any app you build yourself. A zero-infrastructure local backend: Aspire Dashboard via Docker (mcr.microsoft.com/dotnet/aspire-dashboard:latest) — OTLP on :4318, UI on :18888, no cloud account, with a GenAI chat-style span visualizer.
  • Engine-level: vLLM exposes Prometheus metrics at /metrics in Exposition Format — request counters, vllm:num_requests_waiting, scheduler/latency metrics — scrape with Prometheus, visualize with Grafana or the community vllm-dashboard; pair with watch -n 2 nvidia-smi (or rocm-smi) for VRAM/utilization/temperature, and persist to file. Open WebUI has built-in admin analytics (message volume, token consumption, per-model and per-user breakdown) and OTel integration; Grafana dashboards exist for it too.
  • Minimum viable ops stack for a local server: vLLM/Ollama OpenAI-compatible endpoint → Open WebUI front-end → Prometheus + nvidia-smi for GPU, OTel spans for request-level tracing.

Sources

Date: 2026-10-09