twemproxy

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 7 Imported by: 186

README

Twemproxy Input Plugin

The twemproxy plugin gathers statistics from Twemproxy servers.

Configuration
# Read Twemproxy stats data
[[inputs.twemproxy]]
  ## Twemproxy stats address and port (no scheme)
  addr = "localhost:22222"
  ## Monitor pool name
  pools = ["redis_pool", "mc_pool"]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Twemproxy

type Twemproxy struct {
	Addr  string
	Pools []string
}

func (*Twemproxy) Description

func (t *Twemproxy) Description() string

func (*Twemproxy) Gather

func (t *Twemproxy) Gather(acc telegraf.Accumulator) error

Gather data from all Twemproxy instances

func (*Twemproxy) SampleConfig

func (t *Twemproxy) SampleConfig() string

Jump to

Keyboard shortcuts

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