Services: opt-in monitoring with a per-server watch list

A failed service now raises an alert (and counts in /metrics and the public API) only when the server is told to watch it, by name or pattern, or * for all. Failed services that are not watched still show on the Host health card with a Watch button. Replaces the ignore list.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-16 21:48:32 +01:00
1 parent 6e39430a1f
commit 06ac120a1d
19 files changed
+143 -121

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ describe("the noise report", () => {
assert.match(hintFor("monitoring", "monitoring:new-port:server:1:tcp:8080"), /Ports card/);
assert.match(hintFor("automation", "automation:heartbeat:1"), /grace/);
assert.match(hintFor("monitoring", "monitoring:endpoint:2"), /failures in a row/);
assert.match(hintFor("services", "services:failed-units:server:1"), /Services to ignore/);
assert.match(hintFor("services", "services:failed-units:server:1"), /Services to watch/);
assert.match(hintFor("tickets", "tickets:x"), /Acknowledge it/);
});