diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-06-05 19:25:23 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-06-05 19:25:23 +0300 |
commit | 5671ecd40ddd7526b515e7a203d6c34c96cb0043 (patch) | |
tree | 4aa8f53dd41b7f191bcd1508dbbe1a22e57de13e /web/netdata-swagger.yaml | |
parent | a5d58bd9afc9f07f8dee771d8053f2128246bc06 (diff) |
added "sum" and "incremental-sum" grouping methods; the default grouping was faulty set to "max" - it is now "average" according to documentation
Diffstat (limited to 'web/netdata-swagger.yaml')
-rw-r--r-- | web/netdata-swagger.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/netdata-swagger.yaml b/web/netdata-swagger.yaml index 167dd8bacc..85e4c85090 100644 --- a/web/netdata-swagger.yaml +++ b/web/netdata-swagger.yaml @@ -89,10 +89,10 @@ paths: default: 20 - name: group in: query - description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. Two methods are supported, "max" and "average". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).' + description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. 4 methods are supported, "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).' required: true type: string - enum: [ 'max', 'average' ] + enum: [ 'max', 'average', 'sum', 'incremental-sum' ] default: 'average' allowEmptyValue: false - name: format @@ -184,10 +184,10 @@ paths: default: 0 - name: group in: query - description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. Two methods are supported, "max" and "average". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).' + description: 'The grouping method. If multiple collected values are to be grouped in order to return fewer points, this parameters defines the method of grouping. 4 methods are supported, "max", "average", "sum", "incremental-sum". "max" is actually calculated on the absolute value collected (so it works for both positive and negative dimesions to return the most extreme value in either direction).' required: true type: string - enum: [ 'max', 'average' ] + enum: [ 'max', 'average', 'sum', 'incremental-sum' ] default: 'average' allowEmptyValue: false - name: options |