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:
Ruslan Semov
2017-03-23 18:47:41 +03:00
parent 9c427942b9
commit 9cbc1d3c09
4 changed files with 52 additions and 8 deletions

View File

@@ -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;
}