Skip to content
Snippets Groups Projects
Commit 10c4e4f6 authored by Cameron Sparr's avatar Cameron Sparr
Browse files

Fix datadog json marshalling

fixes #607
parent 962325cc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment