class

JaneHQ::Payload

Inherits JSON::Serializable < Reference < Object

Wire model for what a Jane agent pushes each cycle. Mirrors the agent's structs (jane/src/monitor.cr Check, jane/src/info.cr Metrics). The agent encodes results.to_json and then msgpack-encodes that JSON string, so on the server we msgpack-decode to a String and then Payload.from_json.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

alert_count
Source
checks
Source
config

Full agent config (TOML-as-JSON). Captured but unused in phase 1.

Source
metrics
Source
unmonitored
Source