Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Command []interface{} `toml:"command"` Metric string `toml:"metric"` }
type Instance ¶
type Instance struct { config.InstanceConfig Address string `toml:"address"` Username string `toml:"username"` Password string `toml:"password"` PoolSize int `toml:"pool_size"` Commands []Command `toml:"commands"` tls.ClientConfig // contains filtered or unexported fields }
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
type Redis ¶
type Redis struct { config.PluginConfig Instances []*Instance `toml:"instances"` }
func (*Redis) GetInstances ¶
Click to show internal directories.
Click to hide internal directories.