Handle uint64 on cloudwatch output (#4219)
(cherry picked from commit 8b28f40cc0
)
This commit is contained in:
parent
2446a08c33
commit
80aa44a8d0
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue