twemproxy

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 8 Imported by: 181

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) Gather

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

Gather data from all Twemproxy instances

func (*Twemproxy) SampleConfig

func (*Twemproxy) SampleConfig() string

Jump to

Keyboard shortcuts

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