Fix datadog json marshalling

fixes #607
This commit is contained in:
Cameron Sparr 2016-01-28 16:12:33 -07:00
parent 962325cc40
commit 10c4e4f63f
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