A live dashboard for the Halogen LLM inference server. One Rust process (the Collector) reads Halogen each second, keeps the history in SQLite and sends live data to the web page.
| 24 h, dark | 24 h, light |
|---|---|
![]() |
![]() |
| Live, light | Phone |
|---|---|
![]() |
![]() |
The screenshots show simulated data from fake-halogen.
- Status (Up, Degraded or Down) with the reason, Uptime, model and version.
- Generation speed, Throughput, Prefill speed and Prefill throughput.
- Busy Slots, Queued requests and KV pool use, with Saturation colours.
- Prompt-cache hit rate, Draft acceptance, Requests/min and Mean service time.
- Prompt cache, KV pool and NPU details, and an event log.
- Time ranges: Live 5 min, 15 min, 1 h, 6 h, 24 h, 7 d and 30 d. The charts show Outages as gaps and Restarts as markers.
- Dark and light themes. The default theme follows the system setting.
- Arrange: move, resize and hide the charts and panels (drag or arrow buttons). The layout is saved in the browser; Reset to default restores it.
CONTEXT.md defines each term.
Halogen resets two throughput gauges each time a client reads /metrics. Thus the Collector must be the only client that reads Halogen /metrics. Do not add a Prometheus job for Halogen. Let Prometheus read /metrics on the Collector. Refer to docs/adr/0001-collector-is-only-halogen-reader.md.
-
Copy the example file:
cp .env.example .env
-
Set
HALOGEN_URLin.env. Compose does not start ifHALOGEN_URLis empty. -
Start the dashboard:
docker compose up -d --build
-
Open
http://127.0.0.1:8790. To open the dashboard on the LAN, setHALOGEN_DASHBOARD_BIND=0.0.0.0.
The data is in the halogen-dashboard-data volume.
| Variable | Default | Use |
|---|---|---|
HALOGEN_URL |
none, required | Base URL of Halogen |
HALOGEN_API_KEY |
none | Halogen API key, sent as a Bearer token. Set it when Halogen requires a key |
HALOGEN_DASHBOARD_BIND |
127.0.0.1 |
Host address for the port |
HALOGEN_DASHBOARD_PORT |
8790 |
Host port |
RUST_LOG |
info |
Log level |
TZ |
UTC |
Time zone of the container |
FAKE_HALOGEN_SEED |
1 |
Simulator random seed |
FAKE_HALOGEN_SPEED |
1.0 |
Simulator load multiplier |
FAKE_HALOGEN_CHAOS |
false |
Simulator: add Outages, Restarts and Degraded periods |
Set these values in .env:
HALOGEN_URL=http://fake-halogen:8791
FAKE_HALOGEN_CHAOS=trueThen start both services:
docker compose --profile sim up -d --buildRequirements: Rust 1.98, Node 22 and pnpm 11.
(cd web && pnpm install && pnpm build)
cargo build --release
cargo test
# Simulated Halogen on 127.0.0.1:8791
target/release/fake-halogen --chaos
# Optional: 30 days of simulated history
target/release/halogen-dashboard seed --db data/dev.sqlite --days 30
# Collector on 127.0.0.1:8790
HALOGEN_URL=http://127.0.0.1:8791 HALOGEN_DASHBOARD_DB=data/dev.sqlite \
target/release/halogen-dashboard --listen 127.0.0.1:8790To change the web page, run pnpm dev in web/ and open http://127.0.0.1:5179. Use pnpm dev:mock to work without the Collector.
You can trigger simulator events: curl -X POST http://127.0.0.1:8791/_sim/{outage,restart,degrade,burst}.
CONTEXT.md: termsdocs/collector-api.md: Collector API, rate formulas and storagedocs/adr/: decisionsfixtures/halogen-0.17.3/: real Halogen 0.17.3 responses
Licensed under either of Apache License 2.0 or MIT license, at your option.




