add container log struct to models, collectors

This commit is contained in:
Bradley Cicenas
2017-07-04 12:32:25 +00:00
parent 65399a37e5
commit 79a3f361a7
5 changed files with 40 additions and 14 deletions

View File

@@ -1,5 +1,12 @@
package models
import "time"
type Log struct {
Timestamp time.Time
Message string
}
type Metrics struct {
CPUUtil int
NetTx int64