mpredis

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type RedisPlugin

type RedisPlugin struct {
	Host          string
	Port          string
	Username      string
	Password      string
	Socket        string
	Prefix        string
	Timeout       int
	Tempfile      string
	ConfigCommand string

	EnableTLS          bool
	InsecureSkipVerify bool
	// contains filtered or unexported fields
}

RedisPlugin mackerel plugin for Redis

func (*RedisPlugin) Connect added in v0.79.0

func (m *RedisPlugin) Connect()

func (RedisPlugin) FetchMetrics

func (m RedisPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (RedisPlugin) GraphDefinition

func (m RedisPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (RedisPlugin) MetricKeyPrefix

func (m RedisPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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