ing
This commit is contained in:
parent
1d13feb9ce
commit
8fd9425dee
|
@ -8,12 +8,13 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Metric struct {
|
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"`
|
||||||
Data map[string]string `json:"data,omitempty"`
|
// Extra map[string]string `json:"extra,omitempty"`
|
||||||
|
Data map[string]string `json:"data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type MetricStatusEnum int
|
type MetricStatusEnum int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user