Codebase list golang-github-bluebreezecf-opentsdb-goclient / 48fc6ef
Add comments for aggregator in put bluebreezecf 8 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
8282 // The name of an aggregation function to use.
8383 // The value is required with non-empty one in the range of
8484 // 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.
8591 Aggregator string `json:"aggregator"`
8692
8793 // The name of a metric stored in the system.