Skip to content
Snippets Groups Projects
Commit 8b28f40c authored by Thanabodee Charoenpiriyakij's avatar Thanabodee Charoenpiriyakij Committed by Daniel Nelson
Browse files

Handle uint64 on cloudwatch output (#4219)

parent cabee8f8
No related branches found
No related tags found
No related merge requests found
...@@ -177,6 +177,8 @@ func BuildMetricDatum(point telegraf.Metric) []*cloudwatch.MetricDatum { ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment