Documentation
¶
Index ¶
Constants ¶
View Source
const ( Sum Method = "sum" Unique = "unique" Min = "min" Max = "max" Mean = "mean" Median = "median" Entropy = "entropy" Percentilerank = "percentilerank" Percentile = "entropy" KENTIK_EVENT_TYPE = "KFlow:%s:%s" )
View Source
const (
CHAN_SLACK = 10000
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Roller ¶
func GetRollups ¶
func GetRollups(log logger.Underlying, cfg *ktranslate.RollupConfig) ([]Roller, error)
type Rollup ¶
type Rollup struct { Dimension string `json:"dimension"` Metric float64 `json:"metric"` EventType string `json:"eventType"` KeyJoin string `json:"keyJoin"` Interval time.Duration `json:"interval"` Name string Count uint64 Min uint64 Max uint64 Provider kt.Provider // contains filtered or unexported fields }
type RollupDef ¶
type RollupDefs ¶
type RollupDefs []RollupDef
func (*RollupDefs) Set ¶
func (i *RollupDefs) Set(value string) error
func (*RollupDefs) String ¶
func (rf *RollupDefs) String() string
type RollupFlag ¶
type RollupFlag []string
func (*RollupFlag) Set ¶
func (ff *RollupFlag) Set(val string) error
func (*RollupFlag) String ¶
func (ff *RollupFlag) String() string
type StatsRollup ¶
func (*StatsRollup) Add ¶
func (r *StatsRollup) Add(in []map[string]interface{})
func (*StatsRollup) Export ¶
func (r *StatsRollup) Export() []Rollup
type UniqueRollup ¶
func (*UniqueRollup) Add ¶
func (r *UniqueRollup) Add(in []map[string]interface{})
func (*UniqueRollup) Export ¶
func (r *UniqueRollup) Export() []Rollup
Click to show internal directories.
Click to hide internal directories.