Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AggregatorInterface ¶
type AggregatorInterface interface {
Aggregate(metricSlice model.InputMetricSlice) *model.InputMetric
}
AggregatorInterface for metric aggregate
type AvgValue ¶
type AvgValue struct { }
AvgValue is the average result type for Aggregate
func (*AvgValue) Aggregate ¶
func (averageValue *AvgValue) Aggregate(input model.InputMetricSlice) *model.InputMetric
Aggregate implement the average aggregator
type MaxValue ¶
type MaxValue struct { }
MaxValue is the max result type for Aggregate
func (*MaxValue) Aggregate ¶
func (maxValue *MaxValue) Aggregate(input model.InputMetricSlice) *model.InputMetric
Aggregate implement the max aggregator
type MinValue ¶
type MinValue struct { }
MinValue is the min result type for Aggregate
func (*MinValue) Aggregate ¶
func (minValue *MinValue) Aggregate(input model.InputMetricSlice) *model.InputMetric
Aggregate implement the min aggregator
Click to show internal directories.
Click to hide internal directories.