# Functions
Avg produces a running average.
EnablePooling enables pooling.
Gcd finds the gcd of two values.
Last finds the latter of two values.
Lcm finds the lcm of two values.
LTTB down-samples the data to contain only threshold number of points that have the same visual shape as the original data.
Max finds the max of two values.
Median finds the median of a slice of values.
Min finds the min of two values.
Mul multiplies two values.
NewConsolidation creates a new consolidation window.
NewConstantValues returns a block of timeseries values all of which have the same value.
NewMutableSeries returns a new mutable Series at the given start time and backed by the provided storage.
NewSeries creates a new Series at a given start time, backed by the provided values.
NewSeriesList creates a blank series list.
NewSeriesListWithSeries creates a series list with the given series and default metadata.
NewValues returns MutableValues supporting the given number of values at the requested granularity.
NewZeroValues returns a MutableValues supporting the given number of values at the requested granularity.
NumSteps calculates the number of steps of a given size between two times.
Pow returns the first value to the power of the second value.
SortSeries applies a given SeriesReducer to each series in the input list and sorts based on the assigned value.
Sum sums two values.
# Constants
Ascending order.
just an alias to avg but for backward-compatibility.
The standard set of consolidation functions.
The standard set of consolidation functions.
The standard set of consolidation functions.
The standard set of consolidation functions.
The standard set of consolidation functions.
Descending order.
Finalize will finalize the subject.
NoFinalize will avoid finalizing the subject.
alias for "avg".
The standard set of reducers.
alias for "last".
The standard set of reducers.
The standard set of reducers.
The standard set of reducers.
The standard set of reducers.
The standard set of reducers.
alias for "sum".
# Variables
ErrRangeIsInvalid is returned when attempting to slice Series with invalid range endpoints (begin is beyond end).
# Structs
ConsolidatedValue represents a time window of consolidated data.
A Datapoint is a single data value reported at a given time.
A MutableSeries is a Series that allows updates.
A Series is the public interface to a block of timeseries values.
A SeriesList is a list of series.
# Interfaces
A Consolidation produces a Series whose values are the result of applying a consolidation function to all of the datapoints that fall within each step.
CustomStatistics are for values that do custom statistics calculations.
MutableValues is the interface for values that can be updated.
Values holds the values for a timeseries.
# Type aliases
An AggregationFunc combines two data values at a given point.
ConsolidatedValuesByStartTime is a sortable interface for consolidated values.
ConsolidationApproach defines an approach to consolidating multiple datapoints.
A ConsolidationFunc consolidates values at a given point in time.
Datapoints is a list of datapoints that implement the stats.Values interface.
DatapointsByTimestamp is a sortable interface for datapoints.
Direction signifies ascending or descending order.
FinalizeOption specifies the option to finalize or avoid finalizing.
PostConsolidationFunc is a function that takes a tuple of time and value after consolidation.
SeriesByName implements sort.Interface for sorting collections of series by name.
SeriesByNameAndNaturalNumbers implements sort.Interface for sorting collections of series by name respecting natural sort order for numbers.
SeriesReducer reduces a series to a single value.
SeriesReducerApproach defines an approach to reduce a series to a single value.