Files
Pulse/pkg/server
rcourtman 3cefc38316 Count agents with commands on and failure logs on in telemetry
Pulse cannot say how many owners turned on agent commands or failure
logs. So nobody can tell how many owners a Patrol fix that needs
commands reaches, and the failure-logs feature cannot be graded at 30
days, as the demand ledger requires.

Schema v22 adds two counts to the ping. agent_hosts_commands_enabled
counts agent hosts whose agent reports commands on.
docker_hosts_failure_logs_enabled counts Docker hosts whose agent
reports failure logs on. Both are integers; no host, name or log text
leaves the install.

The Docker agent did not report its failure-logs setting, only lines
when a container failed. Its report now says whether the setting is on
(failureLogsEnabled, omitted when off), and the server keeps it on the
Docker host and its unified view. It is reported so it can be counted;
the server still cannot change it.

The commands count follows what agents report, so it includes an agent
that accepted a remote command setting under the legacy authority, not
only those started with --enable-commands. A live check showed this: an
agent restarted without the flag stayed at commands on because it
re-applied the server's setting, while failure logs, which only the
host can set, dropped to off.

PRIVACY.md lists both fields and the v22 change. The receiver change
is rcourtman/pulse-pro#820; it needs a licence-server deploy before
the counts are stored.
2026-11-14 09:04:31 +00:00
..
2026-07-01 09:55:35 +01:00
2026-07-01 09:55:35 +01:00