mpphpfpm

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type PhpFpmPlugin

type PhpFpmPlugin struct {
	URL         string
	Prefix      string
	LabelPrefix string
	Timeout     uint
}

PhpFpmPlugin mackerel plugin

func (PhpFpmPlugin) FetchMetrics

func (p PhpFpmPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (PhpFpmPlugin) GraphDefinition

func (p PhpFpmPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (PhpFpmPlugin) MetricKeyPrefix added in v0.27.1

func (p PhpFpmPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

type PhpFpmStatus

type PhpFpmStatus struct {
	Pool               string `json:"pool"`
	ProcessManager     string `json:"process manager"`
	StartTime          uint64 `json:"start time"`
	StartSince         uint64 `json:"start since"`
	AcceptedConn       uint64 `json:"accepted conn"`
	ListenQueue        uint64 `json:"listen queue"`
	MaxListenQueue     uint64 `json:"max listen queue"`
	ListenQueueLen     uint64 `json:"listen queue len"`
	IdleProcesses      uint64 `json:"idle processes"`
	ActiveProcesses    uint64 `json:"active processes"`
	TotalProcesses     uint64 `json:"total processes"`
	MaxActiveProcesses uint64 `json:"max active processes"`
	MaxChildrenReached uint64 `json:"max children reached"`
	SlowRequests       uint64 `json:"slow requests"`
}

PhpFpmStatus struct for PhpFpmPlugin mackerel plugin

Jump to

Keyboard shortcuts

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