Add comments for aggregator in put
bluebreezecf
8 years ago
82 | 82 | // The name of an aggregation function to use. |
83 | 83 | // The value is required with non-empty one in the range of |
84 | 84 | // the response of calling /api/aggregators. |
85 | // | |
86 | // By default, the potential values and corresponding descriptions are as followings: | |
87 | // "sum": Adds all of the data points for a timestamp. | |
88 | // "min": Picks the smallest data point for each timestamp. | |
89 | // "max": Picks the largest data point for each timestamp. | |
90 | // "avg": Averages the values for the data points at each timestamp. | |
85 | 91 | Aggregator string `json:"aggregator"` |
86 | 92 | |
87 | 93 | // The name of a metric stored in the system. |