Files
Pulse/docs/monitoring/METRICS_DATA_FLOW.md
pulse-triage[bot] 96b475d849 Explain how live readings differ from Trends and drawer History
The old data-flow guide described client-side sampling and a fixed memory/store cutoff. Show operators which view to check when a chart and a fresh reading disagree, and link that distinction from the scheduler poll comparison.

Contract-Neutral: Repository-only documentation of existing chart sources and poll diagnostics; no runtime, shipped Help, API contract, or release-control change.
Change-source: pulse-maintainer
2026-11-25 18:02:40 +00:00

2.9 KiB

Metrics Data Flow (Bars, Trends and History)

A chart that is still visible does not tell you that new readings are arriving. If a value stops updating or a chart is empty, identify the view before checking polling or storage. Keep the same connection, resource and metric in each view.

Where you see it Where the readings come from
Bars in the Proxmox node or workload table The latest resource state delivered to the page, not a query for stored points. Keep any stale, last-known or unavailable indication with the value.
Trends in a workload or Proxmox node table A separate server chart read. Workload summaries use /api/charts/workloads and node summaries use /api/charts/infrastructure. Some row previews read history for just that resource. The browser can retain an earlier result for the same selection while it refreshes.
Overview charts in a resource drawer (or History on older layouts) A read of /api/metrics-store/history for the selected resource and range. Check the chart's source label and observation time. A current or recent-only fallback is not stored coverage, and an empty range is not measured zero.

The summary reads use recent server samples when they cover the requested window. They can supplement shallow coverage with stored readings and, for supported resources, native provider history. There is no fixed two-hour boundary between recent and stored samples. The workload and node summary sparklines do not build a browser history by sampling the live dashboard. The resource drawer has its own range and coverage. No paid plan is needed for metric history. See how to read a History panel and what retention keeps.

If the views disagree

  • Bars change but Trends or the drawer do not. Start with the affected history view. Compare the selected range, the most recent observation time if shown, and whether the chart says it could not refresh. This is not by itself evidence that the provider or agent stopped reporting. For example, a newly changed node disk bar and an older stored disk point can both be correct for their own times.
  • Several views stop together. A visible line or a working Pulse Health response cannot settle this. Compare the affected connection's recorded poll results across its normal interval. Check agent reports and alert evaluation separately. A poll for one connection or a point for one resource does not prove that the other paths advanced.

Use the readings already available. Do not restart Pulse, clear history or change polling or retention just to make the views agree. If you report a disagreement, keep the view, metric, range, last visible point time and any source or error label together. Use consistent private aliases and don't post raw API responses or network captures.