feat: resource_pressure - disk free, CPU freq/throttle/temp, GPU temp via nvidia-smi
This commit is contained in:
@@ -34,6 +34,17 @@ type Agent struct {
|
||||
|
||||
Capabilities *AgentCapabilities `json:"capabilities,omitempty"`
|
||||
|
||||
// Resource pressure — mining-specific runtime telemetry
|
||||
CPUFreqMHz *int `json:"cpu_freq_mhz,omitempty"`
|
||||
CPUMaxMHz *int `json:"cpu_max_mhz,omitempty"`
|
||||
CPUThrottle *bool `json:"cpu_throttle,omitempty"`
|
||||
CPUTempC *int `json:"cpu_temp_c,omitempty"`
|
||||
DiskFreeGB *float64 `json:"disk_free_gb,omitempty"`
|
||||
DiskTotalGB *float64 `json:"disk_total_gb,omitempty"`
|
||||
DiskFreePct *int `json:"disk_free_pct,omitempty"`
|
||||
GPUTempC *int `json:"gpu_temp_c,omitempty"`
|
||||
GPUUsagePct *int `json:"gpu_usage_pct,omitempty"`
|
||||
|
||||
// Crucible — SSH status probed by the agent every ~60s
|
||||
SSHAvailable *bool `json:"ssh_available,omitempty"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user