memcached

package
v0.0.0-...-cd47023 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GAUGES XXX
	GAUGES = map[string]string{
		"total_items":           "memcache.total_items",
		"curr_items":            "memcache.curr_items",
		"limit_maxbytes":        "memcache.limit_maxbytes",
		"uptime":                "memcache.uptime",
		"bytes":                 "memcache.bytes",
		"curr_connections":      "memcache.curr_connections",
		"connection_structures": "memcache.connection_structures",
		"threads":               "memcache.threads",
		"pointer_size":          "memcache.pointer_size",
	}

	// RATES XXX
	RATES = map[string]string{
		"rusage_user":       "memcache.rusage_user_rate",
		"rusage_system":     "memcache.rusage_system_rate",
		"cmd_get":           "memcache.cmd_get_rate",
		"cmd_set":           "memcache.cmd_set_rate",
		"cmd_flush":         "memcache.cmd_flush_rate",
		"get_hits":          "memcache.get_hits_rate",
		"get_misses":        "memcache.get_misses_rate",
		"delete_misses":     "memcache.delete_misses_rate",
		"delete_hits":       "memcache.delete_hits_rate",
		"evictions":         "memcache.evictions_rate",
		"bytes_read":        "memcache.bytes_read_rate",
		"bytes_written":     "memcache.bytes_written_rate",
		"cas_misses":        "memcache.cas_misses_rate",
		"cas_hits":          "memcache.cas_hits_rate",
		"cas_badval":        "memcache.cas_badval_rate",
		"total_connections": "memcache.total_connections_rate",
	}
)

Functions

func NewMemcached

func NewMemcached(conf plugin.InitConfig) plugin.Plugin

NewMemcached XXX

Types

type Memcached

type Memcached struct {
	URL    string
	Port   int
	Socket string
	Tags   []string
}

Memcached XXX

func (*Memcached) Check

func (m *Memcached) Check(agg metric.Aggregator) error

Check XXX

Jump to

Keyboard shortcuts

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