15 lines
297 B
Go
15 lines
297 B
Go
package sender
|
|
|
|
import "time"
|
|
|
|
// SnapshotPayload is the wire format sent to bugs.watch.
|
|
type SnapshotPayload struct {
|
|
Timestamp time.Time `json:"timestamp"`
|
|
|
|
CPUAvg float64 `json:"cpu_avg"`
|
|
MemAvg float64 `json:"mem_avg"`
|
|
DiskAvg float64 `json:"disk_avg"`
|
|
|
|
Uptime uint64 `json:"uptime"`
|
|
}
|