From aaae6fe3242f7bfcc813464e31a1faa3b5d1903e Mon Sep 17 00:00:00 2001 From: Thanabodee Charoenpiriyakij Date: Sat, 2 Jun 2018 00:47:40 +0700 Subject: [PATCH] Handle uint64 on cloudwatch output (#4219) --- plugins/outputs/cloudwatch/cloudwatch.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/outputs/cloudwatch/cloudwatch.go b/plugins/outputs/cloudwatch/cloudwatch.go index 783a21416..39b13cf29 100644 --- a/plugins/outputs/cloudwatch/cloudwatch.go +++ b/plugins/outputs/cloudwatch/cloudwatch.go @@ -177,6 +177,8 @@ func BuildMetricDatum(point telegraf.Metric) []*cloudwatch.MetricDatum { value = float64(t) case int64: value = float64(t) + case uint64: + value = float64(t) case float64: value = t case bool: