Module client

Module client 

Source

Structs§

GpuEntry
GPU memory entry from zerneld (matches to_ws_snapshot format).
TelemetryClient
Client that connects to zerneld WebSocket and receives telemetry.
TelemetrySnapshot
Telemetry snapshot received from zerneld via WebSocket. Must match the JSON format from AggregatedMetrics::to_ws_snapshot().

Functions§

metrics_port
Get the zerneld metrics port from environment or default.
ws_port
Get the zerneld WebSocket port from environment or default.