package
0.0.0-20191121140916-9649366ff4b2
Repository: https://github.com/chronosphereiox/m3.git
Documentation: pkg.go.dev
# Functions
NewAggOp creates a new base temporal transform with a specified node.
NewFunctionOp creates a new base temporal transform for functions.
NewHoltWintersOp creates a new base Holt-Winters transform with a specified node.
NewLinearRegressionOp creates a new base temporal transform for linear regression functions.
NewMockcontroller creates a new mock instance.
NewQuantileOp create a new base temporal transform for quantile_over_time func.
NewRateOp creates a new base temporal transform for rate functions.
# Constants
AvgType calculates the average of all values in the specified interval.
ChangesType returns the number of times a value changes within the provided time range for a given time series.
CountType calculates count of all values in the specified interval.
DeltaType calculates the difference between the first and last value of each time series.
DerivType calculates the per-second derivative of the time series, using simple linear regression.
HoltWintersType produces a smoothed value for time series based on the specified interval.
IDeltaType calculates the difference between the last two values in the time series.
IncreaseType calculates the increase in the time series.
IRateType calculates the per-second rate of increase of the time series across the specified time range.
MaxType calculates the maximum of all values in the specified interval.
MinType calculates the minimum of all values in the specified interval.
PredictLinearType predicts the value of time series t seconds from now, based on the input series, using simple linear regression.
QuantileType calculates the φ-quantile (0 ≤ φ ≤ 1) of the values in the specified interval.
RateType calculates the per-second average rate of increase of the time series.
ResetsType returns the number of counter resets within the provided time range as a time series.
StdDevType calculates the standard deviation of all values in the specified interval.
StdVarType calculates the standard variance of all values in the specified interval.
SumType calculates the sum of all values in the specified interval.
# Structs
Mockcontroller is a mock of controller interface.
MockcontrollerMockRecorder is the mock recorder for Mockcontroller.