From 2de19b3480e78beea3c7d779321be9adc3a83ba2 Mon Sep 17 00:00:00 2001 From: Cameron Sparr Date: Thu, 28 Jan 2016 16:12:33 -0700 Subject: [PATCH] Fix datadog json marshalling fixes #607 --- plugins/outputs/datadog/datadog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/outputs/datadog/datadog.go b/plugins/outputs/datadog/datadog.go index ac1e35917..d84322071 100644 --- a/plugins/outputs/datadog/datadog.go +++ b/plugins/outputs/datadog/datadog.go @@ -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