Files
Pulse/docs/UNIFIED_RESOURCES.md
T
pulse-triage[bot] 8fcd2fc515 Align History, Unified Resources, PBS, and PMG Help with runtime fixes
Document three already-landed monitoring and identity behaviours across
four unclaimed in-app Help guides and their mirrored public copies, with
source-bound Python regression tests:

- docs/METRICS_HISTORY.md and docs/UNIFIED_RESOURCES.md (+ mirrors):
  document Proxmox VE 9.3 persistent guest identity (uid, rtime) and
  cluster-id handling (#5161): chronological sibling-node History
  splicing across live migrations, pre-9.3 canonical ID continuity on
  first uid observation, distinct UID-based canonical IDs and withheld
  sibling History when a VMID is reused, and cluster-id guards against
  auto-merging namesake clusters or standalone nodes.
- docs/PBS.md (+ mirror): document native PBS node-status alert
  evaluation (#5139) in a separate native pbs series isolated from
  linked host agents and namesake hosts, percentage-point CPU threshold
  comparison (#5133), missing-observation handling on node-status read
  failure, and immediate clearing of stale metric alerts when PBS is
  offline or unhealthy.
- docs/MAIL_GATEWAY.md (+ mirror): document PMG startup-outage offline
  and unhealthy projection, scheduler-health and staleness error
  recording, automatic background reconnect with context-bound
  authentication, and intentional skipping of paused connections (#5200).
- scripts/tests/test_navigation_help_docs.py,
  scripts/tests/test_pbs_docs.py, and scripts/tests/test_pmg_docs.py:
  bind each documented behaviour directly to live Go runtime sources.

Contract-Neutral: Documentation, mirrored in-app Help, and Python doc-regression test alignment for already-landed runtime behaviour with no runtime, API, schema, or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-27 17:55:43 +00:00

6.7 KiB

Unified Resource Model

Pulse v6 introduces a unified resource model that normalizes all monitored infrastructure (Proxmox VE, Proxmox Backup Server, Proxmox Mail Gateway, Docker, host agents, Kubernetes, TrueNAS, VMware vSphere, and Availability checks) into a single, consistent data structure.

Why Unified Resources?

In earlier versions, each platform had its own data model, API endpoints, and frontend pages. This created:

  • Duplicate UI code for each platform
  • Inconsistent filtering and search
  • No cross-platform comparison
  • Separate alert logic per platform

The unified model eliminates this by representing every resource as a single Resource struct with a common set of fields plus optional platform-specific extensions.

Core Concepts

Resource

Every monitored entity is a Resource with:

Field Description
id Globally unique identifier
name Display name
type agent (Proxmox node, host agent or other host-class parent; docker-host when it carries only Docker data), vm, system-container, app-container, docker-service, storage, ceph, physical_disk, pbs, pmg, network-share, network-endpoint, pod, k8s-cluster, k8s-node, k8s-deployment, plus further docker-* and k8s-* types
status online, warning, offline, unknown (critical severity is reported separately as critical in the health object's verdict)
sources Array of contributing data sources (e.g., ["proxmox", "agent"])
sourceStatus Per-source health status
metrics CPU, memory, disk, network (when available)
Platform extensions .kubernetes, .truenas, .docker, etc.

Sources

A single resource can be reported by multiple sources. For example, a Proxmox node might have data from both the PVE API and a host agent:

sources: ["proxmox", "agent"]
sourceStatus:
  proxmox: { status: "online", lastSeen: "..." }
  agent: { status: "online", lastSeen: "..." }

The aggregate status is computed from all contributing sources.

Proxmox VE 9.3 persistent identity

On Proxmox VE 9.3 and later, Pulse reads persistent guest identity (uid and rtime) and cluster identity (cluster-id from GET /cluster/status, for both clustered and standalone hosts):

  • Upgrade continuity and live migration: Existing guests keep their pre-9.3 canonical ID when they receive their first uid, and live migrations between nodes in the same cluster stay pinned to that same canonical ID.
  • VMID reuse isolation: When a VMID slot on the same Proxmox instance is reused by a different guest with a new uid, Pulse mints a distinct UID-based canonical ID so overrides, metadata, alerts, and sibling-node History do not leak from the deleted guest.
  • Cluster identity guard: Differing cluster-id values prevent independent clusters or standalone nodes that share a cluster or node name from auto-merging during membership reconciliation or unified node matching.

Data Sources

Source What it feeds
proxmox Proxmox VE API — nodes, VMs, containers, storage
pbs Proxmox Backup Server — datastores, backups, sync jobs
pmg Proxmox Mail Gateway — mail stats, cluster health
agent Unified agent — host metrics, temperatures, S.M.A.R.T.
docker Docker/Podman — containers, images, networks
kubernetes Kubernetes — clusters, nodes, pods, deployments
truenas TrueNAS — system info, ZFS pools, datasets, snapshots, replication
vmware VMware vSphere: vCenter and ESXi hosts, VMs, datastores, networks
availability Availability checks: website, service, device, and TLS certificate checks

Unified Navigation

The v6 UI keeps platform-shaped top-level navigation. The unified resource model sits behind it, but there are no separate Dashboard, Workloads, Storage or Recovery pages.

Page What it shows
Proxmox, Docker, Kubernetes, TrueNAS, vSphere, Machines One page per platform, shown only when Pulse has resources for that platform
Availability Website, service, device, and TLS certificate checks (/availability)
Alerts Alerts across all platforms
Patrol Patrol checks, shown only when AI is enabled
Actions Approvals, ready work and recorded outcomes
Settings Pulse configuration, shown only to users with settings access

/infrastructure is not a page of its own. It redirects to the first available platform page, or to Settings (or Alerts when the user has no settings access) when no platform has resources.

Unified Routes

The unified /workloads, /storage and /recovery routes that briefly shipped in earlier release candidates were reverted in v6.0.0-rc.6 and do not exist. See Migration Guide for the platform-shaped equivalents.

API

Primary Endpoint

GET /api/resources

Returns all unified resources. Supports query parameters:

Parameter Description
type Filter by resource type, comma-separated (agent, vm, system-container, app-container, storage, pod, etc.). Unknown tokens return HTTP 400.
source Filter by data source, comma-separated (proxmox, pbs, pmg, agent, docker, kubernetes, truenas, vmware, availability)
excludeSource Exclude one or more data sources, comma-separated
status Filter by status (online, warning, offline, unknown)
parent Filter by parent resource ID
cluster Filter by cluster name
namespace Filter by Kubernetes namespace
q Case-insensitive substring match on resource name
tags Filter by resource tag
page 1-based page number (default 1)
limit Page size (default 50, maximum 100)
sort Sort field (default name)
order Sort direction (asc or desc, default asc)

Resource Details

Individual resource details are available via the unified state WebSocket connection, which pushes real-time updates to the frontend.

Frontend Architecture

The frontend uses SolidJS reactive selectors to derive views from the unified store:

  • useResources() — access the full unified resource list, plus derived views such as infra() (nodes, agents, docker-hosts), workloads() (VMs, containers, docker-containers), byType(), filtered() and children()

The hook hydrates from the WebSocket state when available and falls back to the REST API.

See Also