Sum and count aggregations added
Sum and count aggregations of metrics (I really need this) Signed-off-by: Ruslan Semov <me@recluse.ru>
This commit is contained in:
@@ -88,6 +88,12 @@ function convertTrendPoint(valueType, point) {
|
||||
case "avg":
|
||||
value = point.value_avg;
|
||||
break;
|
||||
case "sum":
|
||||
value = point.value_sum;
|
||||
break;
|
||||
case "count":
|
||||
value = point.value_count;
|
||||
break;
|
||||
default:
|
||||
value = point.value_avg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user