aggregator

package
v0.0.0-...-319b79c Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorAggrNameInvalid = errors.New("Aggregator name empty")

	ErrorPercentileInvalid = errors.New("Percentile value must > 0 and <= 1")

	ErrorSamplingAggrValueInvalid     = errors.New("Sampling Aggregator value must be > 0")
	ErrorSamplingAggrStartTimeInvalid = errors.New("Sampling Aggregator start time must be > 0")
)

Functions

func NewBasicAggregator

func NewBasicAggregator(name string) *basicAggregator

func NewCustomAggregator

func NewCustomAggregator(kv map[string]interface{}) *customAggregator

func NewPercentileAggregator

func NewPercentileAggregator(percentile float64, value int, unit utils.TimeUnit) *percentileAggregator

func NewRateAggregator

func NewRateAggregator(unit utils.TimeUnit) *rateAggregator

func NewSamplingAggregator

func NewSamplingAggregator(name string, value int, unit utils.TimeUnit) *samplingAggregator

Types

This section is empty.

Jump to

Keyboard shortcuts

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