Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FastCGITransport ¶ added in v0.55.0
FastCGITransport is an implementation of RoundTripper that supports FastCGI.
type PhpFpmPlugin ¶
type PhpFpmPlugin struct { URL string Prefix string LabelPrefix string Timeout uint Socket SocketFlag }
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
type SocketFlag ¶ added in v0.55.0
SocketFlag represents -socket flag.
func (*SocketFlag) Set ¶ added in v0.55.0
func (p *SocketFlag) Set(s string) error
Set implements flag.Value interface.
func (*SocketFlag) String ¶ added in v0.55.0
func (p *SocketFlag) String() string
func (*SocketFlag) Transport ¶ added in v0.55.0
func (p *SocketFlag) Transport() http.RoundTripper
Transport returns http.RoundTripper corresponding to the flag.
Click to show internal directories.
Click to hide internal directories.