Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.