mpredis

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: Apache-2.0 Imports: 10 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
	Password      string
	Socket        string
	Prefix        string
	Timeout       int
	Tempfile      string
	ConfigCommand string
}

RedisPlugin mackerel plugin for Redis

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