mpuptime

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 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]float64, 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