redis_sentinel

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 14 Imported by: 0

README

redis_sentinel

forked from telegraf/redis_sentinel

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	config.InstanceConfig

	Servers []string `toml:"servers"`

	tls.ClientConfig
	// contains filtered or unexported fields
}

func (*Instance) Gather

func (ins *Instance) Gather(slist *types.SampleList)

func (*Instance) Init

func (ins *Instance) Init() error

type RedisSentinel

type RedisSentinel struct {
	config.PluginConfig
	Instances []*Instance `toml:"instances"`
}

func (*RedisSentinel) Clone

func (r *RedisSentinel) Clone() inputs.Input

func (*RedisSentinel) GetInstances

func (r *RedisSentinel) GetInstances() []inputs.Instance

func (*RedisSentinel) Name

func (r *RedisSentinel) Name() string

type RedisSentinelClient

type RedisSentinelClient struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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