Skip to content

docs(roadmap): plan LLM load balance and cluster observability integrations - #552

Merged
dan-petty merged 1 commit into
release/v0.2.23from
docs/observability-and-llm-load-roadmap
Sep 24, 2026
Merged

dan-petty merged 1 commit into
release/v0.2.23from
docs/observability-and-llm-load-roadmap

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Plans the work found while investigating uneven LLM load and auditing the cluster's observability. Docs only: roadmap entries and Backlog task files for new issues.

Findings

  • LLM load. Sampled every 5 s during a live review, the 32B vLLM was busy in 12 of 13 samples, the 14B vLLM in none, and the Ollama nodes in 0 and 1. Causes:
    • weight-based, load-blind routing;
    • a 12,288-token input limit that drops the 14B server from larger prompts;
    • few calls in flight.
  • No LLM or GPU metrics in Prometheus. No vllm:*, litellm_* or GPU metric is scraped, and llm-stack.json queries metric names nothing exposes.
  • devops-cli telemetry is dark. It exports to localhost:4318, where nothing listens (the collector is ClusterIP-only). Jaeger has no services, and the devops-cli and ai-spend dashboards are empty.
  • Logs lack metadata. fluent-bit can't reach the API server, so about 7,700 lines an hour reach Loki without namespace, pod or container.
  • Alerts go nowhere. Alertmanager is disabled and 12 alerts fire with no receiver. KubeControllerManagerDown, KubeSchedulerDown and KubeProxyDown are false on k3s.
  • Retention is 2 hours for both Prometheus and Loki.
  • Unscraped platform components: ArgoCD, cloudflared, Valkey, the registry, squid, fluent-bit, Loki and Jaeger.

Planned

Issue Milestone Priority
#545 Review load spreads across the whole LLM pool v0.2.23 p1
#546 LLM serving and GPU metrics in Prometheus v0.2.23 p1
#547 devops-cli telemetry never reaches the collector v0.2.23 p1
#548 Logs reach Loki without their pod or namespace v0.2.24 p1
#549 Alerts fire into nothing: no Alertmanager, and k3s false positives v0.2.24 p1
#550 Metrics and logs are kept for two hours v0.2.24 p2
#551 Metrics for the rest of the platform v0.2.24 p2

The v0.2.23 items sit with the LLM tuning work (#476–#482). The v0.2.24 items come ahead of the TUI telemetry tab, which depends on labelled logs.

Test plan

  • tests/test_agent_task_files.py
  • uv run devops ci --force: all 13 gates pass

…ations

A live review left most of the LLM pool idle while the 32B server worked, and the cause
could only be seen by exec-ing nvidia-smi in each pod: Prometheus scrapes no LLM or GPU
metric. An audit of the cluster's observability found:
- devops-cli telemetry that never leaves the workstation;
- logs without their pod or namespace;
- alerts firing with no Alertmanager, and k3s false positives;
- two-hour retention;
- platform components nobody scrapes.

Planned in v0.2.23, beside the LLM tuning work: #545 (review load across the whole
pool), #546 (LLM serving and GPU metrics), #547 (telemetry reaching the collector).
Planned in v0.2.24, ahead of the telemetry tab: #548 (log metadata), #549
(Alertmanager and k3s alerts), #550 (retention), #551 (platform metrics).
@dan-petty dan-petty added this to the v0.2.23 milestone Sep 24, 2026
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger priority/p1-high Priority P1: high-impact work for the next planned milestone labels Sep 24, 2026
@dan-petty
dan-petty merged commit 23f850e into release/v0.2.23 Sep 24, 2026
7 checks passed
@dan-petty
dan-petty deleted the docs/observability-and-llm-load-roadmap branch September 24, 2026 23:32
@dan-petty dan-petty mentioned this pull request Sep 28, 2026
7 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority/p1-high Priority P1: high-impact work for the next planned milestone scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant