Mohawk is a metric data storage engine that uses a plugin architecture for data storage and a simple REST API as the primary interface.
ID string `json:"id"`
Type string `json:"type"`
Tags map[string]string `json:"tags"`
LastValues []DataItem `json:"data,omitempty"`
Timestamp int64 `json:"timestamp"`
Value float64 `json:"value"`
Start int64 `json:"start"`
End int64 `json:"end"`
Empty bool `json:"empty"`
Samples int64 `json:"samples,omitempty"`
Min float64 `json:"min,omitempty"`
Max float64 `json:"max,omitempty"`
First float64 `json:"first,omitempty"`
Last float64 `json:"last,omitempty"`
Avg float64 `json:"avg,omitempty"`
Median float64 `json:"median,omitempty"`
Std float64 `json:"std,omitempty"`
Sum float64 `json:"sum,omitempty"`