diff --git a/model/data/Metric.go b/model/data/Metric.go new file mode 100644 index 0000000..28e4367 --- /dev/null +++ b/model/data/Metric.go @@ -0,0 +1,9 @@ +package data + +import "git.loafle.net/overflow/commons-go/core/util" + +type Metric struct { + SensorConfigID string `json:"sensorConfigID,omitempty"` + Data map[string]string `json:"data,omitempty"` + CollectDate *util.Timestamp `json:"collectDate,omitempty"` +}