Fix datadog json marshalling

fixes #607
This commit is contained in:
Cameron Sparr 2016-01-28 16:12:33 -07:00 committed by Ryan Merrick
parent e15ff49ea9
commit 2de19b3480
1 changed files with 2 additions and 2 deletions

View File

@ -37,9 +37,9 @@ type TimeSeries struct {
type Metric struct {
Metric string `json:"metric"`
Points [1]Point `json:"metrics"`
Points [1]Point `json:"points"`
Host string `json:"host"`
Tags []string `json:"tags,omitemmy"`
Tags []string `json:"tags,omitempty"`
}
type Point [2]float64