Specification for structured logging of JAM nodes allowing integration into JAM Tart (Testing, Analytics and Research Telemetry).
Nodes shall provide a CLI option --telemetry HOST:PORT
.
Nodes, with said CLI option given, shall make a TCP/IP connection to said URL.
Messages shall be streamed on this channel in accordance with events as they happen within the node.
All messages shall be encoded as per regular JAM serialization, i.e. , unless otherwise noted.
Index | Name | Args | Description |
---|---|---|---|
0 | PackageReceived | package_hash , sender_id |
A bare work-package is received. |
Emitted when the node receives a package over the network.
Arguments
package_hash
: The hash of the package.sender_id
: The Ed25519 public key of the sender.