mpmemcached

package
v0.80.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type MemcachedPlugin

type MemcachedPlugin struct {
	Target   string
	Socket   string
	Tempfile string
	Prefix   string
}

MemcachedPlugin mackerel plugin for memchached

func (MemcachedPlugin) FetchMetrics

func (m MemcachedPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (MemcachedPlugin) GraphDefinition

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

GraphDefinition interface for mackerelplugin

func (MemcachedPlugin) MetricKeyPrefix

func (m MemcachedPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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