aggregation

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2018 License: Apache-2.0 Imports: 6 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// SumType adds all non nan elements in a list of series
	SumType = "sum"
	// MinType takes the minimum all non nan elements in a list of series
	MinType = "min"
	// MaxType takes the maximum all non nan elements in a list of series
	MaxType = "max"
	// AverageType averages all non nan elements in a list of series
	AverageType = "avg"
	// StandardDeviationType takes the standard deviation of all non nan elements
	// in a list of series
	StandardDeviationType = "stddev"
	// StandardVarianceType takes the standard variance of all non nan elements
	// in a list of series
	StandardVarianceType = "var"
	// CountType counts all non nan elements in a list of series
	CountType = "count"
)

Variables

This section is empty.

Functions

func NewAggregationOp

func NewAggregationOp(
	opType string,
	params NodeParams,
) (parser.Params, error)

NewAggregationOp creates a new aggregation operation

Types

type NodeParams

type NodeParams struct {
	// MatchingTags is the set of tags by which the aggregation groups output series
	MatchingTags []string
	// Without indicates if series should use only the MatchingTags or if MatchingTags
	// should be excluded from grouping
	Without bool
}

NodeParams contains additional parameters required for aggregation ops

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL