-
-
This commit is contained in:
9
datasource/types/types.go
Normal file
9
datasource/types/types.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user