Grafana dashboards, Prometheus alerts and Zabbix templates for self-hosted AI inference: LLM engines, embedding servers, vector databases, model serving platforms, GPU telemetry, batch scheduling, LLM gateways, MCP servers and gateways, and AI agents.
Every query uses the metric names the projects actually expose (taken from their source code, docs or real /metrics captures), and every dashboard query and alert rule is tested against a Prometheus scraping those samples (see Testing).
| Dashboard | File | Covers | Enable metrics |
|---|---|---|---|
| vLLM | dashboards/vllm.json |
TTFT, ITL, E2E latency, phase breakdown, token throughput, finish reasons, queue, KV cache, prefix cache, preemptions | on by default (/metrics on the API port) |
| vLLM production-stack router | dashboards/vllm-production-stack-router.json |
healthy backends, QPS per backend, router errors and latency, per-backend load and prefix cache | on by default |
| SGLang | dashboards/sglang.json |
TTFT, ITL, E2E, queue time, throughput, aborts, token pool, radix cache | --enable-metrics |
| llama.cpp server | dashboards/llama-cpp.json |
tokens/s, decode speed, slots and deferred requests, prompt cache, speculative decoding | --metrics |
| Hugging Face TEI | dashboards/hf-tei.json |
request rate, failures, latency breakdown (tokenization, queue, inference), batching, input length | on by default (port 9000) |
| NVIDIA Triton | dashboards/triton.json |
success/failure by reason, latency breakdown, dynamic batching, pending requests, GPU/CPU | on by default (port 8002) |
| NVIDIA GPU (DCGM) | dashboards/nvidia-dcgm.json |
utilization, tensor/DRAM activity, memory, thermals, power, throttling, XID, row remapping, per-pod GPU usage | dcgm-exporter |
| Volcano | dashboards/volcano.json |
scheduling latency by action/plugin, unschedulable work, queue CPU/memory/GPU, pod groups, job outcomes, preemption | on by default |
| KServe / Knative | dashboards/kserve-knative.json |
predict latency, queue-proxy traffic and 5xx, autoscaler desired vs actual pods, concurrency, panic mode | Knative Serving 1.19+ |
| Ray Serve | dashboards/ray-serve.json |
HTTP traffic and errors, deployment latency and exceptions, queueing, replica health, autoscaling, status | Ray metrics export |
| LiteLLM proxy | dashboards/litellm.json |
traffic, failures by exception, latency, TTFT, tokens, spend by model/team/key, budgets, deployment health, MCP tool calls and spend | callbacks: ["prometheus"] |
| Qdrant | dashboards/qdrant.json |
REST traffic and latency per endpoint, points per collection, optimizations and update queue, replicas and shard transfers, snapshots, memory | on by default (/metrics on 6333) |
| Weaviate | dashboards/weaviate.json |
HTTP API by route, queries by collection and type, query dimensions, batch imports, HNSW size and tombstones, LSM memtables, shards | PROMETHEUS_MONITORING_ENABLED=true (port 2112) |
| agentgateway | dashboards/agentgateway.json |
HTTP traffic by backend protocol (MCP, A2A, LLM), gateway-generated responses, MCP calls by method, target and tool, MCP outcomes, LLM tokens, latency, TTFT, cost, guardrails, config sync | on by default (port 15020) |
| Envoy AI Gateway | dashboards/envoy-ai-gateway.json |
LLM requests and errors by model, provider and backend, latency, TTFT, time per output token, tokens by type, prompt cache share, MCP proxy methods, errors, latency and capabilities | on by default (admin port 1064) |
| ToolHive | dashboards/toolhive.json |
MCP requests, errors and latency per server and method, tool calls, active connections, Virtual MCP backends and workflows, Redis rate limits, DCR clients | enablePrometheusMetricsPath: true (port 9464) |
| Kuadrant MCP Gateway | dashboards/kuadrant-mcp-gateway.json |
upstream MCP servers, tools discovered, discovery attempts and latency, connection failures, tools/list size | on by default (broker port 9090) |
| Kubernetes MCP Server | dashboards/kubernetes-mcp-server.json |
tool calls, errors and duration per tool, in-flight requests per MCP method, HTTP traffic, version | HTTP mode (/metrics on the server port) |
| LLM / GenAI (OpenTelemetry) | dashboards/genai-otel.json |
any app, agent or model server using the OpenTelemetry GenAI conventions: client operations, errors, tokens, server latency and TTFT, agent invocations (kagent), tool executions, MCP operations | OTLP to Prometheus (default name translation) |
Every dashboard opens with a row of summary stats, has a Data source variable, Kubernetes namespace/pod filters (or the component's natural dimension: model, queue, application, GPU, collection), a unit and a description on every panel, thresholds on latency and error stats, a dropdown to the other dashboards of the pack plus direct links to related ones (vLLM to GPU and gateway, TEI to the vector databases...), and shows no data instead of a blank panel.
Alerts: 55 Prometheus alert rules in 19 groups, as a plain rules file and as a PrometheusRule, with a runbook and promtool unit tests. See Alerts.
Zabbix: templates for llama.cpp, vLLM and NVIDIA DCGM exporter using one HTTP agent item plus Prometheus preprocessing. See Zabbix.
MCP and agent dashboards cover only projects that expose Prometheus metrics: agentgateway, Envoy AI Gateway, ToolHive, Kuadrant MCP Gateway, kubernetes-mcp-server and LiteLLM natively, kagent agents through OTLP (only its controller serves /metrics). Ollama is not included: it does not expose Prometheus metrics, and none of the community exporters is established enough to target. Milvus, LocalAI and Infinity are not included yet because their metrics could not be captured from a running instance without downloading large images or models.
Rendered from the test fixtures in test/fixtures (see Testing), so the numbers are not from a real workload. The fixture server keeps its clock across restarts, so the graphs have no artificial spikes.
vLLM ![]() |
NVIDIA GPU (DCGM) ![]() |
vLLM production-stack router ![]() |
LiteLLM ![]() |
Qdrant ![]() |
Weaviate ![]() |
agentgateway ![]() |
Envoy AI Gateway ![]() |
ToolHive ![]() |
LLM / GenAI (OpenTelemetry) ![]() |
All screenshots: docs/screenshots.
Grafana UI: Dashboards > New > Import, upload the JSON file (or paste the grafana.com ID once published) and pick your Prometheus data source in the Data source dropdown at the top of the dashboard.
kube-prometheus-stack (Grafana sidecar):
for f in dashboards/*.json; do
name=ai-obs-$(basename "$f" .json)
kubectl -n monitoring create configmap "$name" --from-file="$f" --dry-run=client -o yaml \
| kubectl label --local -f - grafana_dashboard=1 -o yaml \
| kubectl apply -f -
doneGrafana Operator:
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: ai-obs-vllm
spec:
instanceSelector:
matchLabels:
dashboards: grafana
url: https://raw.githubusercontent.com/lbarrosby/ai-observability-pack/main/dashboards/vllm.jsonFile provisioning: point a providers entry at a folder with the JSON files.
namespaceandpodare the labels added by Prometheus OperatorServiceMonitor/PodMonitorand by the usualkubernetes_sd_configsrelabeling. Outside Kubernetes the filters stay on All and match series without those labels.- dcgm-exporter must be scraped with
honorLabels: true(the GPU Operator default) sonamespace/podrefer to the workload that owns the GPU, not to the exporter pod. - vLLM production-stack router reuses the
vllm:prefix. The engine dashboard only selects series with amodel_namelabel and the router dashboard only selects series with aserverormodellabel, so both can live in the same Prometheus. - OpenTelemetry-based exporters (Envoy AI Gateway, ToolHive, Kuadrant MCP Gateway, kubernetes-mcp-server) use the default Prometheus name translation: dots become underscores, counters get
_total, second histograms get_seconds. ToolHive's rate limit metrics carry their ownnamespaceattribute, which Prometheus renames toexported_namespace; the dashboards filter on the scrapenamespace. - GenAI (OpenTelemetry) expects OTLP metrics ingested with Prometheus' default translation (
UnderscoreEscapingWithSuffixes); thejobvariable isservice.namespace/service.name. Instrumentations that still emitgen_ai.client.token.usageand the newergen_ai.client.inference.usage.*counters are both covered. - Knative 1.19+ exports metrics through OpenTelemetry: queue-proxy metrics carry only
http_response_status_code(resource attributes go totarget_info), so they are filtered by the scrape labelsnamespace/pod; autoscaler metrics carryk8s_namespace_nameandkn_revision_name.
# prometheus-operator / kube-prometheus-stack
# (add the label your Prometheus ruleSelector expects, e.g. release: kube-prometheus-stack)
kubectl apply -n monitoring -f alerts/ai-inference-prometheusrule.yaml
# plain Prometheus
# rule_files: [ "alerts/ai-inference-rules.yaml" ]
# unit tests
promtool test rules alerts/tests/ai-inference-rules.test.yaml| Group | Alerts |
|---|---|
| vllm | VLLMRequestsQueueing, VLLMKVCacheNearlyFull, VLLMPreemptions, VLLMHighTimeToFirstToken, VLLMHighAbortRatio |
| vllm-production-stack-router | VLLMRouterNoHealthyBackends, VLLMRouterHighErrorRatio |
| sglang | SGLangRequestsQueueing, SGLangTokenPoolNearlyFull, SGLangHighTimeToFirstToken |
| llama-cpp | LlamaCppRequestsDeferred |
| hf-tei | TEIQueueBacklog, TEIHighFailureRatio |
| triton | TritonHighFailureRatio, TritonPendingRequests |
| nvidia-dcgm | GPUXidError, GPUFatalXidError, GPUHighTemperature, GPUThermalThrottling, GPUPowerThrottling, GPURowRemapFailure, GPUUncorrectableRemappedRowsIncreasing, GPUPCIeReplays, GPUIdleWhileAllocated |
| volcano | VolcanoUnschedulableJobs, VolcanoSchedulingSlow, VolcanoJobsFailing |
| kserve-knative | KnativeRevisionCannotScale, KnativeQueueProxy5xx |
| ray-serve | RayServeDeploymentUnhealthy, RayServeHighErrorRatio, RayServeBackpressure |
| litellm | LiteLLMHighFailureRatio, LiteLLMDeploymentOutage, LiteLLMDeploymentDegraded, LiteLLMTeamBudgetLow |
| qdrant | QdrantDeadReplicas, QdrantHighErrorRatio |
| weaviate | WeaviateHighErrorRatio, WeaviateSlowQueries, WeaviateShardsNotReady |
| agentgateway | AgentgatewayHighErrorRatio, AgentgatewayMCPErrors, AgentgatewayConfigNotSynchronized |
| envoy-ai-gateway | EnvoyAIGatewayHighErrorRatio, EnvoyAIGatewayMCPErrors |
| toolhive | ToolHiveMCPHighErrorRatio, ToolHiveVMCPBackendErrors, ToolHiveRateLimitFailOpen, ToolHiveDCRCapacityReached |
| kuadrant-mcp-gateway | MCPGatewayUpstreamWithoutTools, MCPGatewayUpstreamConnectionFailures |
| kubernetes-mcp-server | KubernetesMCPServerToolErrors |
| genai-otel | GenAIClientHighErrorRatio, GenAIAgentInvocationsFailing |
Thresholds are starting points. Latency alerts in particular (TTFT p95 > 2s) should be set to your SLO. Throttling alerts need DCGM_FI_DEV_THERMAL_VIOLATION / DCGM_FI_DEV_POWER_VIOLATION, which are commented out in the default dcgm-exporter counters file.
| Template | Folder | Discovery |
|---|---|---|
| llama.cpp server by HTTP | zabbix/template_llama_cpp_server_by_http/7.0 |
none (one server per host) |
| vLLM by HTTP | zabbix/template_vllm_by_http/7.0 |
served models (model_name) |
| NVIDIA DCGM exporter by HTTP | zabbix/template_nvidia_dcgm_exporter_by_http/7.0 |
GPUs (gpu) |
Import in Data collection > Templates > Import, link to a host and set the *.METRICS.URL macro. Each folder has a README with macros, items and triggers. Requires Zabbix 7.0 or newer.
| Component | Tested with |
|---|---|
| Grafana | 11.4 (dashboard schema 41; Grafana migrates it forward on load) |
| Prometheus | 3.1 (plain PromQL, no experimental functions, so 2.x should work) |
| Zabbix | export format 7.0 |
| vLLM | V1 engine metric names; KV and prefix cache panels fall back to the older vllm:gpu_* names |
| vLLM production stack | router metrics captured from a real router |
| SGLang | metric names from sglang/srt/observability |
| llama.cpp | metrics captured from a real llama-server --metrics |
| Hugging Face TEI | metrics captured from real embed and rerank servers |
| Triton | 2.x; percentile panels need --metrics-config histogram_latencies=true, the rest works with the default counters |
| dcgm-exporter | default counters; profiling (DCP) panels need a datacenter GPU |
| Volcano | scheduler (with capacity plugin) and controller metrics captured from a real cluster |
| KServe / Knative | metrics captured from a real KServe 0.21 Python model server; Knative Serving 1.19+ (OpenTelemetry metric names) |
| Ray Serve | metric names from the Ray Serve monitoring docs |
| LiteLLM | metric names from litellm/types/integrations/prometheus.py; MCP tool call metrics from litellm/types/integrations/prometheus.py@98acc01 |
| Qdrant | metrics captured from a real Qdrant 1.20 (REST only; gRPC panels are not included) |
| Weaviate | metrics captured from a real Weaviate 1.40 |
| agentgateway | crates/agentgateway/src/telemetry/metrics.rs@d327d10 and schema/metrics.md@d327d10 |
| Envoy AI Gateway | internal/metrics/genai.go@d41f082 and internal/metrics/mcp_metrics.go@d41f082 (OpenTelemetry Prometheus exporter, default scope labels) |
| ToolHive | docs/observability.md@3738fc9, pkg/telemetry/middleware.go@3738fc9 and pkg/vmcp/internal/backendtelemetry/backendtelemetry.go@3738fc9 |
| Kuadrant MCP Gateway | internal/broker/upstream/manager.go@0550fbb |
| kubernetes-mcp-server | pkg/metrics/otel_stats_collector.go@19e48a6 and docs/OTEL.md@19e48a6 |
| GenAI (OpenTelemetry) | gen_ai.* and mcp.* metrics from semantic-conventions model/gen-ai/metrics.yaml@v1.41.1 and model/mcp/metrics.yaml@v1.41.1; agent and token counter metrics from semantic-conventions-genai model/gen-ai/metrics.yaml@e6658f1 and token-metrics.yaml@e6658f1, as kagent emits them (go/pkg/telemetry/conv/conv_gen.go@ccb2dd3) |
python3 scripts/build_dashboards.py # regenerate dashboards/ from code
python3 scripts/build_prometheusrule.py # regenerate the PrometheusRule from the rules file
python3 scripts/build_zabbix.py # regenerate zabbix/
python3 scripts/check_dashboards.py # offline lint
PROMETHEUS_BIN=/path/to/prometheus test/run.sh # end-to-end: every query and every ruletest/run.sh serves the fixtures in test/fixtures with a small HTTP server that makes counters grow and histograms shift over time, scrapes them with Prometheus, runs every dashboard and variable query (fails on any PromQL error, lists queries with no data) and checks that all alert rules evaluate cleanly. Seven queries return no data on purpose: the router capture has no per-backend ITL, decoding length or waiting series, the Volcano capture comes from a cluster without GPU queues, and the llama.cpp capture ran without a draft model, so speculative decoding acceptance is 0/0.
Fixtures for llama.cpp, TEI, Volcano, the vLLM production-stack router, KServe, Qdrant and Weaviate are real /metrics captures. The others are synthetic, generated by scripts/make_synthetic_fixtures.py using only metric and label names found in each project's code or docs.
Issues and pull requests are welcome, especially real /metrics captures from versions not covered here. Dashboards are generated: edit scripts/build_dashboards.py, not the JSON.
Apache-2.0. Not affiliated with any of the projects monitored here; product names are trademarks of their owners.









