Skip to content

fix(monitoring): the Grafana rate panels hold two samples, the dashboard queries match the live series, and the k8s-monitoring values use the chart's documented settings #1955

Closed

Description

@dan-petty

Friction

Half of the Grafana panels show no data. Node Exporter Full shows 60 of 116 panels over the last hour, Kubernetes / Views / Pods 14 of 23, and devops-cli Telemetry 3 of 14. The Project & Engineering Velocity dashboard is #974 and is not part of this item.

Evidence

A read-only probe on 2026-10-23 ran every panel query through Grafana and checked each empty one:

  • The Prometheus datasource in k8s/monitoring/grafana-values.yaml sets no jsonData.timeInterval. Grafana assumes a 15 s scrape, so $__rate_interval is 1m. k8s-monitoring scrapes every 60 s by default, so a 1m window holds one sample, and rate(), irate() and increase() return nothing. The Global CPU query returns 0 of 241 points with [1m] and 241 of 241 with [4m]. This empties 50 panels and part of 4 more.
  • k8s-views-pods.json matches pod="$pod" exactly against a multi-value variable that loads as All (9 panels).
  • devops-cli.json queries _bucket, _sum and _count, but the CLI exports native histograms since fix(telemetry): delta metrics from one process can reach the collector out of order #792 (6 panels). telemetry/instruments.py maps a histogram to the classic names, so the tests pass with stale names.
  • node-exporter runs without the processes and tcpstat collectors (4 panels). The Nodes view selects image="" series that the chart drops (2 panels). Single-panel faults: a goroutine profile id typo in pyroscope.json, the DCGM instance variable default, and a Loki pod stream selector where pod is structured metadata.
  • The k8s-monitoring 4.5.2 values also misuse the chart: the alloy-metrics WAL sits in /tmp, alloy-logs has no host-storage preset, the preset privileged is deprecated, Pyroscope is scraped twice, Loki and Pyroscope destinations set no clusterLabels, and enable-feature: native-histograms does nothing in Prometheus 3.15.

Existing tool considered

Grafana's documented datasource setting jsonData.timeInterval and the grafana/k8s-monitoring 4.5.2 chart's own presets and keys cover every fix. Nothing is built.

Proposed remedy

Set timeInterval: 60s on the Prometheus datasource and record the paired global.scrapeInterval: 60s in the k8s-monitoring values. Fix the dashboard queries listed above (not project-metrics.json, which #974 owns), the histogram names in telemetry/instruments.py, and the node-exporter collectors. Apply the chart's documented settings for each misuse. A test fails when a rate panel cannot hold two samples at the declared scrape interval.

Activity

  1. added
    source/agent
    type/bug
    on Oct 23, 2026
  2. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

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

    • Type: type/bug. The candidate fixes broken Grafana panels and data queries.
    • Priority: P1-High. Half of the Grafana panels show no data and affect monitoring usability.
    • Value: High. Fixing panels helps users see system metrics and health.
    • Effort: Medium. The fix requires changes to several dashboards, values files and chart settings.
  3. added a commit that references this issue on Oct 23, 2026
    4b06d31
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

    source/agenttype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions