Files
Pulse/internal/alerts
rcourtman 53990d55f0 Show a partial PMG read as degraded, not unreachable
A PMG that answers its version read but fails one optional endpoint
(the queue read in #2960) was shown on Connections as Unreachable and
raised a critical connection-degraded alert. The poll error behind it
has category "partial" since the scheduler split: the connection
answered and only a downstream read failed.

deriveConnectionState now maps a partial error to a new "degraded"
connection state, ahead of the auth-text check, so a 403 from one
optional endpoint no longer marks the credential unauthorized. A partial
connection whose last success is past the stale cutoff is still stale.
Degraded rolls up as fleet adapter health "degraded", keeps credentials
verified and does not block rollout or workload inventory.

The connection-degraded alert treats degraded as a degraded
observation at warning severity. It still needs three observations to
fire, keeps an open outage open (a missing reading is not recovery),
and steps an open critical outage down to warning once the connection
answers again.

Connections shows an amber Degraded badge and an amber banner that
names the failed reading ("Queue status could not be read: Server
error ...") instead of a red, generic "Server error". The monitoring
category constant is exported so the ledger reads one value.
2026-10-26 12:01:40 +00:00
..
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00