# Packages
No description provided by the author
# Functions
IntPositive validates whether an int is positive (greater than zero).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAggregateConstructor takes an agg string and returns a constructor function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPlan validates the expressions and comes up with the initial (potentially non-optimal) execution plan which is just a list of requests and the expressions.
No description provided by the author
No description provided by the author
No description provided by the author
NewReq creates a new Req.
No description provided by the author
NewReqFromSeries generates a Req back from a series a models.Series has all the properties attached to it to find out which Req it came from.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Normalize normalizes series to the same common LCM interval - if they don't already have the same interval any adjusted series gets created in a series drawn out of the pool and is added to the dataMap so it can be reclaimed.
NormalizeTo normalizes the given series to the desired interval will pad front and strip from back as needed, to assure the output is canonical for the given interval the following MUST be true when calling this: * interval > in.Interval * interval % in.Interval == 0.
No description provided by the author
Parses an expression string and turns it into an expression also returns any leftover data that could not be parsed.
ParseMany parses a slice of strings into a slice of expressions (recursively) not included: validation that requested functions exist, correct args are passed, etc.
Pool tells the expr library which pool to use for temporary []schema.Point this lets the expr package effectively create and drop point slices as needed it is recommended you use the same pool in your application, e.g.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
True or False.
floating point number; potentially with decimals.
ArgIn is a special type that allows one of multiple arguments.
ArgInt is a number without decimals.
ArgInts represents one or more numbers without decimals.
When an argument is a special value without quotes (such as None or INF) This should NOT be used together with ArgSeries, ArgSeriesList, ArgSeriesLists inside an ArgIn as that causes ambiguity.
like string, but should result in a regex.
ArgSeries is a single series argument not generally used as input since graphite functions typically take multiple series as input but is useful to describe output.
ArgSeriesList is a list of series argument, it can be 0..N series.
ArgSeriesLists represents one or more lists of series inputs.
string.
mixed string or int.
ArgStrings represents one or more strings.
Array of mixed strings or ints.
Context describes a series timeframe and consolidator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FuncDivideSeries divides 1-N dividend series by 1 dividend series.
FuncDivideSeriesLists divides dividends by divisors, pairwise.
No description provided by the author
No description provided by the author
internal function just for getting data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Req represents a request for one/more series.
No description provided by the author
# Interfaces
Arg is an argument to a GraphiteFunc note how every implementation has a val property.
GraphiteFunc defines a graphite processing function.
# Type aliases
Datamap contains all series to feed into the processing chain or generated therein: * fetched series, grouped by their expr.Req, such that expr.FuncGet can find the data it needs and feed it into subsequent expr.GraphiteFunc functions * additional series generated while handling the request (e.g.
No description provided by the author
Validator is a function to validate an input.