mpuwsgivassal

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: Apache-2.0 Imports: 7 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type UWSGIVassalPlugin

type UWSGIVassalPlugin struct {
	Socket      string
	Prefix      string
	LabelPrefix string
}

UWSGIVassalPlugin mackerel plugin for uWSGI

func (UWSGIVassalPlugin) FetchMetrics

func (p UWSGIVassalPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (UWSGIVassalPlugin) GraphDefinition

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

GraphDefinition interface for mackerelplugin

func (UWSGIVassalPlugin) MetricKeyPrefix

func (p UWSGIVassalPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

type UWSGIWorker

type UWSGIWorker struct {
	Requests uint64 `json:"requests"`
	Status   string `json:"status"`
}

UWSGIWorker struct

type UWSGIWorkers

type UWSGIWorkers struct {
	Workers []UWSGIWorker `json:"workers"`
}

UWSGIWorkers sturct for json struct

Jump to

Keyboard shortcuts

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