redis

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrProtocolError = errors.New("redis protocol error")
View Source
var Tracking = map[string]string{
	"uptime_in_seconds": "uptime",
	"connected_clients": "clients",
	"role":              "replication_role",
}

Functions

This section is empty.

Types

type InputRedis

type InputRedis struct {
	ServerUrls []string
	// contains filtered or unexported fields
}

func (*InputRedis) Collect

func (r *InputRedis) Collect(collector pipeline.Collector) error

func (*InputRedis) Description

func (r *InputRedis) Description() string

func (*InputRedis) Init

func (r *InputRedis) Init(context pipeline.Context) (int, error)

type TotalDBInfo

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

Jump to

Keyboard shortcuts

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