redis

package
v0.0.1-alpha.0...-67e42e2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisInput

type RedisInput struct {
	Config inputs.MothershipConfig
	Host   string /* the host to connect to */
	Port   int    /* the port to connect to */
	DB     int    /* the database to read from */
	Key    string /* the key to POP from */
	Type   string /* the type to add to events */
}

func (*RedisInput) Filter

func (l *RedisInput) Filter(event common.MapStr) (common.MapStr, error)

func (*RedisInput) GetConfig

func (l *RedisInput) GetConfig() inputs.MothershipConfig

func (*RedisInput) GroupEvents

func (l *RedisInput) GroupEvents(events []common.MapStr) ([]common.MapStr, error)

Seperate events by metric_name, average the values for each metric, emit averaged metrics

func (*RedisInput) Init

func (l *RedisInput) Init(config inputs.MothershipConfig) error

func (*RedisInput) InputType

func (l *RedisInput) InputType() string

func (*RedisInput) InputVersion

func (l *RedisInput) InputVersion() string

func (*RedisInput) Run

func (l *RedisInput) Run(output chan common.MapStr) error

Jump to

Keyboard shortcuts

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