Handle uint64 on cloudwatch output (#4219)

This commit is contained in:
Thanabodee Charoenpiriyakij 2018-06-02 00:47:40 +07:00 committed by Daniel Nelson
parent 12fffdd4aa
commit aaae6fe324
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) value = float64(t)
case int64: case int64:
value = float64(t) value = float64(t)
case uint64:
value = float64(t)
case float64: case float64:
value = t value = t
case bool: case bool: