Files
Pulse/docs/monitoring/METRICS_DATA_FLOW.md
pulse-triage[bot] ecd5a98324 Align FAQ, Data Flow, and Scheduler Health Help with stalled warnings
Document the newly merged dashboard header Updates stalled warning
(#5439, a46964c894) in docs/FAQ.md (mirrored in
frontend-modern/public/docs/FAQ.md) and docs/monitoring/METRICS_DATA_FLOW.md,
covering standalone /api/health polling cadence (30s/15s/5s),
websocketStateStalled: true precedence below Reconnecting... and
Disconnected, automatic recovery, Connected scope limits, and hosted or
multi-tenant omission.

Remove the dead /workloads route (reverted in v6.0.0-rc.6) and preview-only
Standalone VMs (/standalone/vms) reference from
docs/monitoring/METRICS_DATA_FLOW.md, aligning with platform-shaped v6
navigation and release-stage documentation rules.

Document PBS poll-scope shared config read-lock release before diagnostic
logging (#5430, dd86143f55) in docs/api/SCHEDULER_HEALTH.md and add
source-bound regression checks in
scripts/tests/test_alerting_outage_help_docs.py and
scripts/tests/test_watchdog_help_docs.py.

Contract-Neutral: Updates Help documentation, its shipped FAQ mirror, and documentation regression tests to match already-merged runtime behavior without changing product code, APIs, auth, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-28 20:55:45 +00:00

6.0 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 and live status rows across platform tables The latest resource state delivered to the page, not a query for stored points. When a provider or agent stops updating, cached rows across Proxmox (including Ceph and replication), Docker (including images, storage, networks, Compose, Swarm, and Active Alerts), TrueNAS (including protection and Health Alerts), Kubernetes (including inventory, record drawers, and Active Alerts), VMware (including Health Signals and Activity), and Physical Disks (Storage tables, Physical Disks & SMART cards, linked pool and guest physical disks, and disk drawers) show an amber Stale data cue (or amber Stale verdict for clear stale disks) and expanded-drawer notice while preserving worse Offline, Degraded, Replace Now, Needs Attention, or alert severity states. Stale physical disk temperatures and SSD life stay muted as last known without triggering live Running Hot, and temperature or SMART history charts defer until live reporting recovers. Storage Pools also switch clear stale pools to amber Stale (leaving Healthy, joining Needs attention and warning counts, and sorting ahead of fresh healthy pools), while preserving worse explicit pool states (Faulted, Offline, Critical, Failed, Unavailable, Degraded, Warning) and alert headlines with an inline amber Stale data cue on both desktop and phones while keeping retained usage bars visible. Proxmox Backups (/proxmox/backups) adds a page-level stale telemetry banner naming stale PVE or PBS sources, amber Stale data header cues on Backup health and Backup jobs, and scoped stale cues and drawer notices on affected Coverage rows, By date restore points, and Backup servers while ignoring optional stale host agents when provider polling itself is healthy. Machines (/standalone/machines) surfaces amber Stale data (or Stale · <age>) cues and drawer notices when Pulse Agent telemetry stops updating while preserving offline, degraded, and alert states. Workloads (VMs and containers across the Proxmox, vSphere, Docker, and Kubernetes pages) routes stale running and stopped workloads out of Running into Attention, displays inline Stale cues in rows and node group headers while retaining last-known readings, and shows an amber Readings are stale notice in the guest drawer without flagging fresh hypervisor telemetry when only an optional linked agent is stale. 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.
  • The header badge shows Updates stalled. On standalone installs, the dashboard periodically checks /api/health while signed in and switches the header connection badge to amber Updates stalled (Backend is reachable, but live dashboard state updates are stalled.) whenever websocketStateStalled: true is reported while the socket is connected or the backend is healthy, clearing automatically when live updates resume. Reconnecting... and Disconnected still take precedence if the backend is unreachable or unhealthy while the socket is down. A green Connected badge only means live updates are connected, not that source readings are fresh, and hosted or multi-tenant deployments omit websocketStateStalled from public /api/health.

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.