Repository navigation
Description
Problem or Motivation
llm-stack.json. 21 time series targets use a fixed [5m] or [2m] window; on the dense 15 s gateway scrape the 7 d total is 99 % right, but short peaks go at wide ranges. Panels 2, 4, 13, 14, 15 and 17 add Sum, Mean and Rolling Avg lines to the 4 to 6 entity lines. Panel 14 uses decmbytes for DCGM_FI_DEV_FB_USED, which is MiB, so 17,964 MiB shows as '18.0 GB' (true 17.5 GiB). Panel 29 puts 2 collections and 58,225 vectors on one axis. Panels 24 and 25 show no data in 24 h; failed fallbacks have no series in 30 d. Panel 27 target B draws the non-2xx lines of target A again. Panels 21 and 22 count a non-model route (/v1/systemone, 30 requests in 24 h).
Proposed Solution & Architectural Design
Use [$__rate_interval] in every rate. Remove the Mean and Rolling Avg targets, and keep Total only where a sum has a meaning (requests, power). Panel 14 unit mbytes. Panel 29: the collection count as a stat, vectors by collection as lines. Panels 24 and 25: stats of the count in range with 'or vector(0)'. Panel 27: remove target B. Panels 21 and 22: route=~'/v1/(chat/completions|embeddings)', as ai-spend.json does.
Scope: queries, panel types, units, legends and defaults only. Keep the default Grafana colors. The project design study owns colors and type.
Target Subsystem
Kubernetes & Minikube Automation (Grafana dashboards and telemetry).
Existing Tool Considered
Built-in Grafana panel types and PromQL. No new code.
Acceptance Criteria
- No time series target of llm-stack.json holds a fixed range window.
- Panel 14 has unit mbytes.
- Panels 2, 4, 13, 14, 15 and 17 hold no avg() or rolling target.
- Panels 21 and 22 filter the route.
- The repository dashboard lint and provisioning tests pass ('uv run pytest tests/grafana tests/prometheus/test_k8s_monitoring_dashboards.py').
Files
k8s/monitoring/dashboards/llm-stack.json
Dependencies
None.
Related
#2407 adds a panel to the same dashboard.
Source: #4675
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(monitoring)scope of the title gives the scope.Incorrect units and noisy lines mislead operators but do not break the system.Correct units and cleaner panels improve operator trust in monitoring data.Edits are limited to one JSON file: change windows, units, remove targets, add a filter.Both target llm-stack.json dashboard panels, but #1158 is an umbrella for multiple dashboard enhancements while this candidate removes specific noisy targets and fixes units in one file.devops-cli-service commentedon Nov 12, 2026
Released in v0.119.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.119.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 15:46 UTC