mpuptime

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2017 License: Apache-2.0 Imports: 5 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 UptimePlugin

type UptimePlugin struct {
	Prefix string
}

UptimePlugin mackerel plugin

func (UptimePlugin) FetchMetrics

func (u UptimePlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (UptimePlugin) GraphDefinition

func (u UptimePlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (UptimePlugin) MetricKeyPrefix

func (u UptimePlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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