Commit graph

7 commits

Author SHA1 Message Date
6fca450d7e feat(agent): Shell.run wrapper for testable external commands 2026-04-21 22:31:24 +02:00
4f82701956 fix(agent): jason-safe error entries + correct handle_info return
Errors produced by Collectors.Host were keyword tuples {:tag, msg}, which
Jason cannot encode — metric push crashed the channel. Convert them to
plain maps with :tag and :message fields.

Reporter.handle_info/2 returned {:ok, socket}, which Slipstream rejects
(GenServer-style {:noreply, socket} is the only valid return for that
callback, unlike handle_connect/handle_join/handle_disconnect).
2026-04-21 22:15:32 +02:00
bfe39e71e1 feat(agent): supervisor boots reporter when config is present 2026-04-21 22:09:29 +02:00
3ae38f95a9 feat(agent): slipstream reporter — join, push, auto-reconnect 2026-04-21 22:08:57 +02:00
ce828084c8 feat(agent): host collector for /proc loadavg, meminfo, uptime 2026-04-21 22:08:04 +02:00
e4db0beac6 feat(agent): toml config loader with defaults and validation 2026-04-21 22:07:06 +02:00
70923eebfa feat(agent): otp app scaffold with slipstream + toml deps 2026-04-21 22:05:49 +02:00