aggregate_metric_double contains [min,max,sum,count] that can be used in the corresponding aggregation functions (and avg). For the rest, the default_value should be returned and used. This will help make downsampling more generically applicable, as all aggregation functions can then operate over downsampled data (containing aggregate_metric_double for gauges) - with reduced accuracy, naturally.
aggregate_metric_doublecontains[min,max,sum,count]that can be used in the corresponding aggregation functions (andavg). For the rest, thedefault_valueshould be returned and used. This will help make downsampling more generically applicable, as all aggregation functions can then operate over downsampled data (containingaggregate_metric_doublefor gauges) - with reduced accuracy, naturally.