Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PlackPlugin ¶
PlackPlugin mackerel plugin for Plack
func (PlackPlugin) FetchMetrics ¶
func (p PlackPlugin) FetchMetrics() (map[string]interface{}, error)
FetchMetrics interface for mackerelplugin
func (PlackPlugin) GraphDefinition ¶
func (p PlackPlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition interface for mackerelplugin
type PlackServerStatus ¶
type PlackServerStatus struct { Uptime interface{} `json:"Uptime"` // Plack::Middleware::ServerStatus::Lite 0.35 outputs Uptime as a JSON number, though pre-0.35 outputs it as a JSON string. TotalAccesses interface{} `json:"TotalAccesses"` TotalKbytes interface{} `json:"TotalKbytes"` BusyWorkers interface{} `json:"BusyWorkers"` IdleWorkers interface{} `json:"IdleWorkers"` Stats []PlackRequest `json:"stats"` }
PlackServerStatus sturct for server-status's json
Click to show internal directories.
Click to hide internal directories.