mpsm

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 10 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 SmartmeterPlugin

type SmartmeterPlugin struct {
	Prefix string

	ScanMode bool
	// contains filtered or unexported fields
}

SmartmeterPlugin mackerel plugin

func (SmartmeterPlugin) FetchMetrics

func (p SmartmeterPlugin) FetchMetrics() (metrics map[string]float64, err error)

FetchMetrics interface for mackerelplugin

func (SmartmeterPlugin) GraphDefinition

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

GraphDefinition interface for mackerelplugin

func (SmartmeterPlugin) MetricKeyPrefix

func (p SmartmeterPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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