Documentation ¶
Index ¶
- Constants
- type AbsNode
- func (c *AbsNode) Meta(meta block.Metadata) block.Metadata
- func (c *AbsNode) Process(ID parser.NodeID, b block.Block) error
- func (c *AbsNode) ProcessSeries(series block.Series) (block.Series, error)
- func (c *AbsNode) ProcessStep(step block.Step) (block.Step, error)
- func (c *AbsNode) SeriesMeta(metas []block.SeriesMeta) []block.SeriesMeta
- type AbsOp
- type ClampNode
- type ClampOp
- type CountNode
- type CountOp
- type FetchNode
- type FetchOp
Constants ¶
const AbsType = "abs"
AbsType takes absolute value of each datapoint in the series
const ClampMaxType = "clamp_max"
ClampMaxType ensures all values except NaNs are lesser than or equal to provided argument
const ClampMinType = "clamp_min"
ClampMinType ensures all values except NaNs are greater than or equal to the provided argument
const CountType = "count"
CountType counts all non nan elements in a list of series
const FetchType = "fetch"
FetchType gets the series from storage
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbsNode ¶ added in v0.3.0
type AbsNode struct {
// contains filtered or unexported fields
}
AbsNode is an execution node
func (*AbsNode) ProcessSeries ¶ added in v0.3.0
ProcessSeries allows series iteration
func (*AbsNode) ProcessStep ¶ added in v0.3.0
ProcessStep allows step iteration
func (*AbsNode) SeriesMeta ¶ added in v0.3.0
func (c *AbsNode) SeriesMeta(metas []block.SeriesMeta) []block.SeriesMeta
SeriesMeta returns the metadata for each series in the block
type AbsOp ¶ added in v0.3.0
type AbsOp struct { }
AbsOp stores required properties for abs
type ClampNode ¶ added in v0.3.0
type ClampNode struct {
// contains filtered or unexported fields
}
ClampNode is an execution node
type ClampOp ¶ added in v0.3.0
type ClampOp struct {
// contains filtered or unexported fields
}
ClampOp stores required properties for clamp TODO(nikunj): Make clamp a lazy function
func NewClampOp ¶ added in v0.3.0
NewClampOp creates a new clamp op based on the type and arguments
type CountNode ¶
type CountNode struct {
// contains filtered or unexported fields
}
CountNode is an execution node
type CountOp ¶
type CountOp struct { }
CountOp stores required properties for count
type FetchNode ¶
type FetchNode struct {
// contains filtered or unexported fields
}
FetchNode is the execution node
type FetchOp ¶
type FetchOp struct { Name string Range time.Duration Offset time.Duration Matchers models.Matchers }
FetchOp stores required properties for fetch