This commit is contained in:
crusader 2018-07-04 17:35:46 +09:00
parent 1d13feb9ce
commit 8fd9425dee

View File

@ -11,8 +11,9 @@ type Metric struct {
SensorID string `json:"sensorID,omitempty"` SensorID string `json:"sensorID,omitempty"`
StartDate *util.Timestamp `json:"startDate,omitempty"` StartDate *util.Timestamp `json:"startDate,omitempty"`
EndDate *util.Timestamp `json:"endDate,omitempty"` EndDate *util.Timestamp `json:"endDate,omitempty"`
Status MetricStatusEnum `json:"status,omitempty"` Success bool `json:"success,omitempty"`
Extra map[string]string `json:"extra,omitempty"` // Status MetricStatusEnum `json:"status,omitempty"`
// Extra map[string]string `json:"extra,omitempty"`
Data map[string]string `json:"data,omitempty"` Data map[string]string `json:"data,omitempty"`
} }