-
This commit is contained in:
David Chen
2026-02-12 00:54:45 +08:00
committed by GitHub
parent 41ddc6b60f
commit f9c40f05c3
14 changed files with 669 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package types
type Metric struct {
Service string `json:"service"`
TimestampSec int64 `json:"timestamp_sec"` // unix epoch
Up int `json:"up"` // 0: down, 1: healthy
UptimeSec int64 `json:"uptime_sec"`
MemoryUsageBytes int64 `json:"memory_usage_bytes"`
}