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 : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
alert_count
Sourcechecks
Sourcemetrics
Sourceunmonitored
Source