types.go 320 B

123456789101112
  1. package opentsdb
  2. type OpenTsdbQuery struct {
  3. Start int64 `json:"start"`
  4. End int64 `json:"end"`
  5. Queries []map[string]interface{} `json:"queries"`
  6. }
  7. type OpenTsdbResponse struct {
  8. Metric string `json:"metric"`
  9. DataPoints map[string]float64 `json:"dps"`
  10. }