Documentation ¶
Index ¶
- func By(list api.SeriesList, aggregator func([]float64) float64, tags []string, ...) api.SeriesList
- func Count(array []float64) float64
- func Max(array []float64) float64
- func Mean(array []float64) float64
- func Min(array []float64) float64
- func Sum(array []float64) float64
- func Total(array []float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func By ¶
func By(list api.SeriesList, aggregator func([]float64) float64, tags []string, collapses bool) api.SeriesList
By takes a series list, an aggregator, and a set of tags. It produces a SeriesList which is the result of grouping by the tags and then aggregating each group into a single Series.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.