Grafana

Gatewaying Two DGX Spark vLLM Nodes with vLLM Semantic Router

Gatewaying Two DGX Spark vLLM Nodes with vLLM Semantic Router

9 min read

You now have two NVIDIA DGX Spark units running vLLM, and you have measured them: one node alone, two nodes behind Nginx load balancing, and two nodes as a Ray cluster. The next question is what sits in front of them: how do you decide which node gets which request, how do you enforce guardrails, and how do you cache repeated queries without hitting the model at all?

This post covers vLLM Semantic Router as the gateway layer in front of your two DGX Spark nodes. It selects or combines backends per request based on policy, runs guardrails (jailbreak, PII, hallucination detection), and caches semantically similar queries. We walk through installing it, wiring it to spark-1 and spark-2, defining routes, and adding its metrics to the same Prometheus and Grafana stack you already built.

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.

Two DGX Spark 128 GB Units for Local AI: Single Node vs Nginx Load-Balanced vLLM in Grafana

Two DGX Spark 128 GB Units for Local AI: Single Node vs Nginx Load-Balanced vLLM in Grafana

12 min read

We bought two NVIDIA DGX Spark units with 128 GB of unified memory each to run large language models locally. Before trusting them with real workloads, we needed to know how they behave under load: one node by itself, two nodes behind a load balancer, and anywhere from one to sixteen people sending requests at the same time.

This post is the step-by-step record of how we measured it and how we visualized the results in Grafana. The monitoring stack — Prometheus, Grafana, and the Nginx load balancer — runs on a separate server, while both DGX Spark nodes run independent vLLM instances. It covers preparing the nodes, running vLLM on a single node and across two load-balanced instances, benchmarking with 1, 4, 8, and 16 concurrent users, scraping vLLM metrics into Prometheus, and building the Grafana dashboards that made the comparison readable.

Two DGX Spark 128 GB Units for Local AI: Single Node vs Ray Clustered vLLM in Grafana

Two DGX Spark 128 GB Units for Local AI: Single Node vs Ray Clustered vLLM in Grafana

13 min read

We bought two NVIDIA DGX Spark units with 128 GB of unified memory each to run large language models locally. Before trusting them with real workloads, we needed to know how they behave under load: one node by itself, two nodes as a Ray cluster with tensor parallelism, and anywhere from one to sixteen people sending requests at the same time.

This post is the step-by-step record of how we measured it and how we visualized the results in Grafana. The monitoring stack — Prometheus and Grafana — runs on a separate server, while both DGX Spark nodes run vLLM under a Ray distributed executor. It covers preparing the nodes, running vLLM on a single node and across the Ray cluster, benchmarking with 1, 4, 8, and 16 concurrent users, scraping vLLM metrics into Prometheus, and building the Grafana dashboards that made the comparison readable.

Grafana Loki

Grafana Loki

1 min read

Loki is a Prometheus-inspired logging service for cloud native infrastructure. It’s similar to well-known ELK stack but more simple use and is intended to be used mostly Kubernetes.