Skip to content

fix(monitoring): tidy LLM stack windows, units and lines #4732

Closed

Description

@dan-petty

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

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/bug
    scope/monitoring
    status/new
    value/medium
    effort/low
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/monitoring. The (monitoring) scope of the title gives the scope.
    • Priority: P2-Medium. Incorrect units and noisy lines mislead operators but do not break the system.
    • Value: Medium. Correct units and cleaner panels improve operator trust in monitoring data.
    • Effort: Low. Edits are limited to one JSON file: change windows, units, remove targets, add a filter.
    • Related: feat(telemetry): enhance grafana dashboards for ai spend, cli telemetry, gpus, and sre services #1158, which asks for a different change. 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.
  4. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 11, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
  6. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 15:46 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/monitoringsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions