Handle uint64 on cloudwatch output (#4219)
This commit is contained in:
		
							parent
							
								
									cabee8f8e0
								
							
						
					
					
						commit
						8b28f40cc0
					
				|  | @ -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