Handle uint64 on cloudwatch output (#4219)

(cherry picked from commit 8b28f40cc0)
This commit is contained in:
Thanabodee Charoenpiriyakij 2018-06-02 00:47:40 +07:00 committed by Daniel Nelson
parent 2446a08c33
commit 80aa44a8d0
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 2 additions and 0 deletions

View File

@ -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: