mpuptime

package
v0.83.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 6 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 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