Handle uint64 on cloudwatch output (#4219)
This commit is contained in:
parent
12fffdd4aa
commit
aaae6fe324
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue