Document platform alert-table stale-reading cues and expanded-drawer warning notices from #5327 across Docker Active Alerts, Kubernetes Active Alerts, TrueNAS Health Alerts, and VMware Health Signals in docs/ALERTING.md and its in-app Help mirror, and reflect platform-wide Stale data cues in docs/monitoring/METRICS_DATA_FLOW.md. Align docs/ASSISTANT_SAFETY.md and its in-app Help mirror with retired interactive pulse_question prompts, fail-closed write classification for unknown tool names in ClassifyToolCall, retired raw command execution (raw_command_retired, HTTP 410), and host-command authority refusals. Add source-bound regression tests in scripts/tests/test_alerting_outage_help_docs.py and scripts/tests/test_public_docs_claims.py. Contract-Neutral: Documentation, in-app Help mirrors, and doc regression tests aligned with existing runtime behaviour without changing code contracts, routes, payloads, or UI. Change-source: pulse-maintainer
3.4 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), and VMware (including Health Signals and Activity) show an amber Stale data cue and expanded-drawer notice while preserving worse Offline, Degraded, or alert severity states. 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.