phpfpm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GAUGES XXX
	GAUGES = map[string]string{
		"listen queue":         "listen_queue.size",
		"max listen queue":     "listen_queue.max_size",
		"idle processes":       "processes.idle",
		"active processes":     "processes.active",
		"total processes":      "processes.total",
		"max active processes": "processes.max_active",
	}

	// MONOTONICCOUNTS XXX
	MONOTONICCOUNTS = map[string]string{
		"accepted conn":        "requests.accepted",
		"max children reached": "processes.max_reached",
		"slow requests":        "requests.slow",
	}
)

Functions

func NewPHPFPM

func NewPHPFPM(conf plugin.InitConfig) plugin.Plugin

NewPHPFPM XXX

Types

type PHPFPM

type PHPFPM struct {
	StatusURL string `yaml:"status_url"`
	User      string
	Password  string
	Tags      []string
}

PHPFPM XXX

func (*PHPFPM) Check

func (pf *PHPFPM) 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